Whats new in PHP 7 Features, Changes, Performance etc

The PHP development team announces the immediate availability of PHP 7.0.0 Alpha 2. This is the second pre-release of the ...







The PHP development team announces the immediate availability of PHP 7.0.0 Alpha 2. This is the second pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

NOTE: THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!

Alpha 2 introduces the new Throwable interface and changes to the Exception hierarchy and about 25 bug fixes reported since the first alpha.

PHP 7.0.0 comes with new version of the Zend Engine with features such as (incomplete list):

Features:

  •     Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  •     Consistent 64-bit support
  •     Many fatal errors are now Exceptions
  •     Removal of old and unsupported SAPIs and extensions
  •     The null coalescing operator (??)
  •     Combined comparison Operator (<=>)
  •     Return Type Declarations
  •     Scalar Type Declarations
  •     Anonymous Classes
  •     Combined Comparison Operator
  •     Null Coalesce Operator
  •     Scalar Type Declarations
  •     Return Type Declarations
  •     Anonymous Classes
  •     Unicode Codepoint Escape Syntax
  •     Closure call() Method
  •     Filtered unserialize()
  •     IntlChar Class
  •     Expectations
  •     Group use Declarations
  •     Generator Return Expressions
  •     Generator Delegation
  •     Integer Division with intdiv()
  •     session_start() Options
  •     preg_replace_callback_array() Function

Changes:
  •     Loosening Reserved Word Restrictions
  •     Uniform Variable Syntax
  •     Exceptions in the Engine
  •     Throwable Interface
  •     Integer Semantics
  •     JSON Extension Replaced with JSOND
  •     ZPP Failure on Overflow
  •     Fixes to foreach()'s Behaviour
  •     Changes to list()'s Behaviour
  •     Fixes to Custom Session Handler Return Values
  •     Deprecation of PHP 4-Style Constructors
  •     Removal of date.timezone Warning
  •     Removal of Alternative PHP Tags
  •     Removal of Multiple Default Blocks in Switch Statements
  •     Removal of Dead Server APIs
  •     Removal of Hex Support in Numerical Strings
  •     Removal of Deprecated Functionality
  •     Reclassification and Removal of E_STRICT Notices
  •     Deprecation of Salt Option for password_hash()
Performance:


Unarguably the greatest part about PHP 7 is the incredible performance boosts it provides to applications. This is a result of refactoring the Zend Engine to use more compact data structures and less heap allocations/deallocations.

The performance gains on real world applications will vary, though many applications seem to receive a ~100% performance boost - with lower memory consumption too!

The refactored codebase provides further opportunities for future optimisations as well (such as JIT compilation). So it looks like future PHP versions will continue to see performance enhancements too.

COMMENTS

Name

Android Apple Apps Gadget Gaming How Tos Laptops Latest Latets news Linux Microsoft New Movies New phones New Tricks Nokia Offers PC Programing ROMs Root Softwares Solution SONY Symbian^3 Themes TOP 10 HD iPad 2 Games Whatsapp
false
ltr
item
New Vijay: Leaked Online Loot and Offers : Whats new in PHP 7 Features, Changes, Performance etc
Whats new in PHP 7 Features, Changes, Performance etc
http://2.bp.blogspot.com/-A4870mt4qzM/VZaEpz8i_qI/AAAAAAAAD7c/HPFHqCG2ovQ/s640/Whats%2Bnew%2Bin%2BPHP%2B7%2BFeatures%252C%2BChanges%252C%2BPerformance%2Betc-newvijay.png
http://2.bp.blogspot.com/-A4870mt4qzM/VZaEpz8i_qI/AAAAAAAAD7c/HPFHqCG2ovQ/s72-c/Whats%2Bnew%2Bin%2BPHP%2B7%2BFeatures%252C%2BChanges%252C%2BPerformance%2Betc-newvijay.png
New Vijay: Leaked Online Loot and Offers
http://newvijay.blogspot.com/2015/06/whats-new-in-php-7-features-changes.html
http://newvijay.blogspot.com/
http://newvijay.blogspot.com/
http://newvijay.blogspot.com/2015/06/whats-new-in-php-7-features-changes.html
true
7835349826098902170
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy