summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-07-23 20:27:08 +0000
committerPierre Joye <pajoye@php.net>2011-07-23 20:27:08 +0000
commit51d36803067634345f40450c202773a0990aeb0f (patch)
treede4982fac3f04213090a2a532d687edf8e1f4d90
parent80496c9dc46cabf7185e09d1a3e65b084e4d9fc0 (diff)
downloadphp-git-51d36803067634345f40450c202773a0990aeb0f.tar.gz
- add short array syntax, missing files and info
-rw-r--r--NEWS4
-rwxr-xr-xUPGRADING3
2 files changed, 6 insertions, 1 deletions
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];