From: Pierre Joye Date: Sat, 23 Jul 2011 20:27:08 +0000 (+0000) Subject: - add short array syntax, missing files and info X-Git-Tag: php-5.4.0alpha3~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51d36803067634345f40450c202773a0990aeb0f;p=php - add short array syntax, missing files and info --- diff --git a/NEWS b/NEWS index 931cd67aec..4f30e6df5c 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2011, PHP 5.4.0 Alpha 3 +- Added features: + . Short array syntax, see UPGRADING guide for full details (rsky0711 at gmail + . com, sebastian.deutsch at 9elements . com, Pierre) + - Removed features: . Removed magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return diff --git a/UPGRADING b/UPGRADING index dede4da515..a59ff2c2ad 100755 --- a/UPGRADING +++ b/UPGRADING @@ -30,6 +30,7 @@ UPGRADE NOTES - PHP X.Y h. New methods i. New class constants j. New hash algorithms + k. New Syntax ======================================== 1. Changes made to default configuration @@ -458,7 +459,7 @@ UPGRADE NOTES - PHP X.Y - joaat k. New Syntax - - Short array syntax + - Short array syntax in 5.4.0 $a = [1, 2, 3, 4]; $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4]; $a = ['one' => 1, 2, 'three' => 3, 4];