]> granicus.if.org Git - php/commitdiff
Tinker with UPGRADING's wording for the format string changes for clarity.
authorAdam Harvey <aharvey@php.net>
Mon, 14 Jan 2013 05:54:43 +0000 (13:54 +0800)
committerAdam Harvey <aharvey@php.net>
Mon, 14 Jan 2013 05:54:43 +0000 (13:54 +0800)
UPGRADING

index f65e8687049ca3e5c6a744a448887b3be48e7f15..6c53084cdd2f190b4715027df1b76ca18c99e535 100755 (executable)
--- a/UPGRADING
+++ b/UPGRADING
@@ -105,10 +105,11 @@ PHP 5.5 UPGRADE NOTES
 
 - pack()/unpack() had the following changes, which bring it more in line
   with Perl's behavior:
-  - Implemented format character "Z": NUL-padded string
-  - "a" now does not remove trailing NUL characters on unpack() anymore
-  - "A" will now strip all trailing ASCII whitespace on unpack() (it used to
-    remove only trailing spaces).
+  - Implemented format character "Z": NULL padded string, with trailing NULL
+    bytes removed.
+  - Changed format character "a": this no longer removes trailing NULL bytes.
+  - Changed format character "A": all trailing ASCII whitespace is now removed
+    (defined as spaces, tabs, \r, \n and NULL).
 - MessageFormatter::format() and related functions now accepted named arguments
   and mixed numeric/named arguments in ICU 4.8+.
 - MessageFormatter::format() and related functions now don't error out when