2. Performance and Memory
Performance by 10-30%
Memory by 50%
â
â
precompiled script bytecode in shared memory
reduction in loading and parsing of scripts on every request
HOW???
!! Zend Optimizer & opcode cache !!
Available in PECL for PHP versions 5.2, 5.3 and 5.4
5. New Features
â empty() supports arbitrary expression.
â Class name resolution via ::class
<?php
namespace NameSpace;
class ClassName {}
echo ClassName::class; //NameSpaceClassName
?>
13. New Features(Password Hashing Api)
â password_get_info â Returns information about the
given hash
â password_hash â Creates a password hash
â password_needs_rehash â Checks if the given hash
matches the given options
â password_verify â Verifies that a password matches a
hash