Home  >  Article  >  Backend Development  >  现年8月份PHP创始人Rasmus Lerdorf提出的一个wishlist

现年8月份PHP创始人Rasmus Lerdorf提出的一个wishlist

WBOY
WBOYOriginal
2016-06-13 13:11:58831browse

今年8月份PHP创始人Rasmus Lerdorf提出的一个wishlist

????? 1。完全抛弃全局变量

  2. 删除Magic Quotes

  3. 增加一个输入过滤扩展代替Magic Quotes,提供一个机制让开发者很容易自己关闭或开启这个功能。而不是像现在的作法那样先判断服务器的GPC是否打开。

  4. 默认加入opcode cache,对代码执行进行速度上的优化。目前大多用的是PECL或APC,但有一个官方的解决方案显然是比较好的。

  5. 删除安全模式 safe_mode,改进open_basedir

  6. 删除在PHP3/4中已经被标记为过时deprecated的内容

  另两个考虑中的,但是意义不太大的:

  7. 标识符(程序中使用的变量名、函数名、标号等)大小写敏感

  8. 删除各种函数的别名

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article: php.ini惯用配置 Next article: PHP环境筹建视频