- add short array syntax, missing files and info

This commit is contained in:
Pierre Joye 2011-07-23 20:27:08 +00:00
parent 80496c9dc4
commit 51d3680306
2 changed files with 6 additions and 1 deletions

4
NEWS
View File

@ -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

View File

@ -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];