| Note this is just Zend's take on what's important in PHP 7: it's not a complete list. A more comprehensive list: - Dual-mode scalar type hints (weak by default, toggleable to strict via a per-file syntax) (https://wiki.php.net/rfc/scalar_type_hints_v5) - Return type declarations (https://wiki.php.net/rfc/return_types) - <=> operator (https://wiki.php.net/rfc/combined-comparison-operator) - Null coalesce operator (??) (https://wiki.php.net/rfc/isset_ternary) - Closure::call (https://wiki.php.net/rfc/closure_apply) - Abstract syntax tree (https://wiki.php.net/rfc/abstract_syntax_tree) - Context sensitive lexer, allowing the use of reserved words in more places (https://wiki.php.net/rfc/context_sensitive_lexer) - Unicode escape syntax in strings (https://wiki.php.net/rfc/unicode_escape) - A uniform variable syntax (https://wiki.php.net/rfc/uniform_variable_syntax) - Expectations (https://wiki.php.net/rfc/expectations) - Use declaration grouping (https://wiki.php.net/rfc/group_use_declarations) - Removal of a ton of long-deprecated features - Massive speed improvements You can see everything that's been added to PHP 7 on https://wiki.php.net/rfc (look under Accepted and Implemented - PHP 7.0) |