search
Homephp教程php手册PHP6中可能会出现的新特性

PHP6中可能会出现的新特性

Jun 06, 2016 pm 07:50 PM
phpAppearteamdevelopnew featurescorecharacteristic

PHP 核心团队开发者 Pierre Joye 近日在官网上贴出了 PHP6 中可能会出现的新特性。之所以说是可能会出现,是因为目前 PHP6 项目还处于草案阶段, 这些特性还只是一个想法,还需要讨论,随时都有可能变更。 这些特性包括: 集成 OpCache(OPcache 通过对 PHP

  PHP 核心团队开发者 Pierre Joye 近日在官网上贴出了 PHP6 中可能会出现的新特性。之所以说是“可能会出现”,是因为目前 PHP6 项目还处于草案阶段,这些特性还只是一个想法,还需要讨论,随时都有可能变更。

PHP6中可能会出现的新特性

  这些特性包括:

  • 集成 OpCache(OPcache 通过对 PHP 的 opcode 进行缓存和优化,可以提高 PHP 程序的执行速度)
  • 改善对 64 位环境的支持
  • 支持 Unicode
  • 清理内部 API
  • 提升代码质量,做到 Warning-Free
  • 改善 OPcodes、编译器、运行时
  • JIT 编译器(LibJIT?)
  • 支持 Annotation(注解?)
  • 命名自变量(Named argument)
  • 不同等级的类型提示
  • 支持 HTTP2(可能会使用 nghttp2,避免重复造轮)
  • 可靠、友好的 RNG API
  • 新的 Getter/Setter
  • C++用法
  • 新的加密扩展
  • 捆绑 PECL 的 http 库

  详细信息:https://wiki.php.net/ideas/php6

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Atom editor mac version download

Atom editor mac version download

The most popular open source editor