com php-src: Merge branch 'nullable_types' of github .com:morrisonlevi/php-src: NEWS Zend/zend_compile .c Zend/zend_compile.h Zend/zend_inheritance.c
Zend/zend_language_parser.y

From: Date: Mon, 23 May 2016 07:14:26 +0000
Subject: com php-src: Merge branch 'nullable_types' of github .com:morrisonlevi/php-src: NEWS Zend/zend_compile .c Zend/zend_compile.h Zend/zend_inheritance.c
Zend/zend_language_parser.y
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92179@lists.php.net to get a copy of this message
Commit: 0cdbabe558dbdbe3bab6ba9102dba8311a5ea7f7 Author: Dmitry Stogov <dmitry@zend.com> Mon, 23 May 2016 10:14:26 +0300 Parents: 0d62dfdf81fb7710c20a46a75ad6166e25e50a12 56c3d75780b7c2faf290722a615fd2d797d2f041 Branches: master Link: http://git.php.net/?p=php-src..git;a=commitdiff;h=0cdbabe558dbdbe3bab6ba9102dba8311a5ea7f7 Log: Merge branch 'nullable_types' of github.com:morrisonlevi/php-src * 'nullable_types' of github.com:morrisonlevi/php-src: Fix bug #71428 Add nullable parameter types Implement nullable return types. Bugs: https://bugs.php.net/71428 Changed paths: MM NEWS MM Zend/zend_compile.c MM Zend/zend_compile.h MM Zend/zend_inheritance..c MM Zend/zend_language_parser.y Diff: diff --cc NEWS index 5bb69bd,9b26cdb..150586f --- a/NEWS +++ b/NEWS @@@ -3,9 -3,6 +3,10 @@@ PH ?? ??? 2016, PHP 7.1.0 - Core: ++ . Added nullable types. (Levi, Dmitry) + . Added DFA optimization framework based on e-SSA form. (Dmitry, Nikita) + . Added specialized opcode handlers (e.g. ZEND_ADD_LONG_NO_OVERFLOW). + (Dmitry) . Change statement and fcall extension handlers to accept frame. (Joe) . Implemented safe execution timeout handling, that prevents rundom crashes after "Maximum execution time exceeded" error. (Dmitry) diff --cc Zend/zend_language_parser.y index 5f233d6,7682d69..44c5cfb --- a/Zend/zend_language_parser.y +++ b/Zend/zend_language_parser.y @@@ -249,9 -250,9 +249,9 @@@ static YYSIZE_T zend_yytnamerr(char*, c %type <ast> non_empty_parameter_list argument_list non_empty_argument_list property_list %type <ast> class_const_list class_const_decl name_list trait_adaptations method_body non_empty_for_exprs %type <ast> ctor_arguments alt_if_stmt_without_else trait_adaptation_list lexical_vars -%type <ast> lexical_var_list encaps_list array_pair_list non_empty_array_pair_list -%type <ast> assignment_list unkeyed_assignment_list keyed_assignment_list +%type <ast> lexical_var_list encaps_list +%type <ast> array_pair non_empty_array_pair_list array_pair_list - %type <ast> isset_variable type return_type + %type <ast> isset_variable type return_type type_expr %type <ast> identifier %type <num> returns_ref function is_reference is_variadic variable_modifiers

« previous php.cvs (#92179) next »