mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- add short array syntax, missing files and info
This commit is contained in:
parent
80496c9dc4
commit
51d3680306
4
NEWS
4
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
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user