[PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/UPGRADING trunk/UPGRADING

2011-09-07 Thread Gustavo André dos Santos Lopes
cataphract   Wed, 07 Sep 2011 15:28:12 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=316364

Log:
- Fixed doc bug #54657: Function parameters can no longer be named after
  superglobal variables.

Bug: https://bugs.php.net/54657 (Open) Function parameters can no longer be 
named after superglobal variables
  
Changed paths:
U   php/php-src/branches/PHP_5_4/UPGRADING
U   php/php-src/trunk/UPGRADING

Modified: php/php-src/branches/PHP_5_4/UPGRADING
===
--- php/php-src/branches/PHP_5_4/UPGRADING  2011-09-07 15:13:30 UTC (rev 
316363)
+++ php/php-src/branches/PHP_5_4/UPGRADING  2011-09-07 15:28:12 UTC (rev 
316364)
@@ -116,6 +116,10 @@

   Now emits a Fatal error due the incompatible declaration.

+- In previous versions, names of superglobals could be used for parameter
+  names, thereby shadowing the corresponding superglobal. This now causes a
+  fatal error such as Cannot re-assign auto-global variable GLOBALS.
+
 =
 4. Changes made to existing functions
 =

Modified: php/php-src/trunk/UPGRADING
===
--- php/php-src/trunk/UPGRADING 2011-09-07 15:13:30 UTC (rev 316363)
+++ php/php-src/trunk/UPGRADING 2011-09-07 15:28:12 UTC (rev 316364)
@@ -102,6 +102,10 @@
   $test = new StdClass;
   $test-baz = 1;

+- In previous versions, names of superglobals could be used for parameter
+  names, thereby shadowing the corresponding superglobal. This now causes a
+  fatal error such as Cannot re-assign auto-global variable GLOBALS.
+
 =
 4. Changes made to existing functions
 =

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/UPGRADING trunk/UPGRADING

2011-08-09 Thread Scott MacVicar
scottmac Tue, 09 Aug 2011 15:27:25 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=314676

Log:
Fix typos in UPGRADING

Changed paths:
U   php/php-src/branches/PHP_5_4/UPGRADING
U   php/php-src/trunk/UPGRADING

Modified: php/php-src/branches/PHP_5_4/UPGRADING
===
--- php/php-src/branches/PHP_5_4/UPGRADING  2011-08-09 15:27:12 UTC (rev 
314675)
+++ php/php-src/branches/PHP_5_4/UPGRADING  2011-08-09 15:27:25 UTC (rev 
314676)
@@ -100,7 +100,7 @@

   To create a generic object you can use StdClass:
   $test = new StdClass;
-  $text-baz = 1;
+  $test-baz = 1;

 - It's now possible to enforce the class' __construct arguments in an abstract
   constructor in the base class.
@@ -344,7 +344,7 @@
   multibyte support, but may enable or disable it by zend.multibyte. It doesn't
   make a lot of sense to enable this option without ext/mbstring, because the
   most functionality is implemented by mbstrings callbacks.
-- Added enable_post_data_reading, which is enable by default. When it's
+- Added enable_post_data_reading, which is enabled by default. When it's
   disabled, the POST data is not read (and processed); the behavior is similar
   to that of other request methods with body, like PUT. This allows reading the
   raw POST data in multipart requests and read/process the POST data in a

Modified: php/php-src/trunk/UPGRADING
===
--- php/php-src/trunk/UPGRADING 2011-08-09 15:27:12 UTC (rev 314675)
+++ php/php-src/trunk/UPGRADING 2011-08-09 15:27:25 UTC (rev 314676)
@@ -100,7 +100,7 @@

   To create a generic object you can use StdClass:
   $test = new StdClass;
-  $text-baz = 1;
+  $test-baz = 1;

 =
 4. Changes made to existing functions
@@ -328,7 +328,7 @@
   multibyte support, but may enable or disable it by zend.multibyte. It doesn't
   make a lot of sense to enable this option without ext/mbstring, because the
   most functionality is implemented by mbstrings callbacks.
-- Added enable_post_data_reading, which is enable by default. When it's
+- Added enable_post_data_reading, which is enabled by default. When it's
   disabled, the POST data is not read (and processed); the behavior is similar
   to that of other request methods with body, like PUT. This allows reading the
   raw POST data in multipart requests and read/process the POST data in a

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/UPGRADING trunk/UPGRADING

2011-07-26 Thread Pierre Joye
pajoye   Wed, 27 Jul 2011 00:18:35 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=313758

Log:
- upgrading entry for binary number format

Changed paths:
U   php/php-src/branches/PHP_5_4/UPGRADING
U   php/php-src/trunk/UPGRADING

Modified: php/php-src/branches/PHP_5_4/UPGRADING
===
--- php/php-src/branches/PHP_5_4/UPGRADING  2011-07-27 00:16:53 UTC (rev 
313757)
+++ php/php-src/branches/PHP_5_4/UPGRADING  2011-07-27 00:18:35 UTC (rev 
313758)
@@ -474,3 +474,5 @@
  $a = ['one' = 1, 'two' = 2, 'three' = 3, 'four' = 4];
  $a = ['one' = 1, 2, 'three' = 3, 4];

+   - Binary number format
+ 0b00100 0b010101

Modified: php/php-src/trunk/UPGRADING
===
--- php/php-src/trunk/UPGRADING 2011-07-27 00:16:53 UTC (rev 313757)
+++ php/php-src/trunk/UPGRADING 2011-07-27 00:18:35 UTC (rev 313758)
@@ -462,3 +462,6 @@
  $a = [1, 2, 3, 4];
  $a = ['one' = 1, 'two' = 2, 'three' = 3, 'four' = 4];
  $a = ['one' = 1, 2, 'three' = 3, 4];
+
+   - Binary number format
+ 0b00100 0b010101

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php