Maison > php教程 > php手册 > le corps du texte

php5不再支持2003

WBOY
Libérer: 2016-06-06 20:08:40
original
1207 Les gens l'ont consulté

看了一下5.5的更新。。原来5.5开始就放弃windows 2003了。那些想在2003上跑应用的人,要哭了 http://www.php.net/manual/en/migration55.new-features.php Windows XP and 2003 support dropped Support for Windows XP and 2003 has been dropped. Windows

看了一下5.5的更新。。原来5.5开始就放弃windows 2003了。那些想在2003上跑应用的人,要哭了
http://www.php.net/manual/en/migration55.new-features.php

Windows XP and 2003 support dropped

Support for Windows XP and 2003 has been dropped. Windows builds of PHP now require Windows Vista or newer.

添加了finally....

finally keyword added

try-catch blocks now support a finally block for code that should be run regardless of whether an exception has been thrown or not.

foreach的时候,可以list了。不需要再$val[0]

foreach now supports list()

The foreach control structure now supports unpacking nested arrays into separate variables via the list() construct. 

empty() supports arbitrary expressions

Passing an arbitrary expression instead of a variable to empty() is now supported.

array and string literal dereferencing

Array and string literals can now be dereferenced directly to access individual elements and characters:

    <?php echo 'Array dereferencing: ';  
    echo [1, 2, 3][0];  
    echo "\n";  
    echo 'String dereferencing: ';  
    echo 'PHP'[0];  
    echo "\n";  
    ?>  
Copier après la connexion
还有一个:

New password hashing API

A new password hashing API that makes it easier to securely hash and manage passwords using the same underlying library as crypt() in PHP has been added. See the documentation for password_hash() for more detail.

额。难道以后的wordpress也可以直接用这个了?

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Recommandations populaires
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!