首页 > php教程 > php手册 > 正文

php5不再支持2003

php中文网
发布: 2016-06-06 20:08:40
原创
1495人浏览过

看了一下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";  
    ?>  
登录后复制
还有一个:

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也可以直接用这个了?

MediPro企业网站管理系统
MediPro企业网站管理系统

一款基于PHP+MYSQL开发的企业网站管理软件,具有灵活的栏目内容管理功能和丰富的网站模版,可用于创建各种企业网站。v5.1版本支持了PHP5+MYSQL5环境,前台网站插件开放源码,更利于个性化的网站开发。具有以下功能特点和优越性:[>]模版精美实用具有百款适合企业网站的精美模版,并在不断增加中[>]多语言支持独立语言包,支持GBK,UTF8编码方式,可用于创建各种语言的网站[&g

MediPro企业网站管理系统 1
查看详情 MediPro企业网站管理系统
PHP速学教程(入门到精通)
PHP速学教程(入门到精通)

PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号