From: Christopher Jones Date: Wed, 17 Nov 2010 17:59:41 +0000 (+0000) Subject: Some grammar tweaks X-Git-Tag: php-5.4.0alpha1~191^2~644 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46ef2edf8d75b43cdfa3918c81d0ce90b6abcb24;p=php Some grammar tweaks --- diff --git a/NEWS b/NEWS index 1c2deb8c03..7048474fae 100644 --- a/NEWS +++ b/NEWS @@ -45,7 +45,7 @@ PHP NEWS . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags. . Removed zend_arg_info.required_num_args as it was only needed for internal - functions. Now the first arg_info for internal function (which has special + functions. Now the first arg_info for internal functions (which has special meaning) is represented by zend_internal_function_info structure. . Moved zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count into CG(context) as they are used only during compilation. @@ -79,22 +79,21 @@ PHP NEWS . ZEND_RECV now always has IS_CV as its result. . ZEND_CATCH now has to be used only with constant class names. . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order. - . ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED - flag any more. This is very rare and useless case. ZEND_FREE might be - required after them instead. - . ZEND_RETURN is splitted into two new instructions ZEND_RETURN and + . Simplified ZEND_FETCH_*_R operations. They can't be used with the + EXT_TYPE_UNUSED flag any more. This is a very rare and useless case. + ZEND_FREE might be required after them instead. + . Split ZEND_RETURN into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF. . Optimized access to global constants using values with pre-calculated - hash_values from literals table. + hash_values from the literals table. . Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS. - . zend_stack and zend_ptr_stack allocation is delayed before the actual - usage. + . zend_stack and zend_ptr_stack allocation is delayed until actual usage. - Improved CLI SAPI: (Johannes) - . Added command line option --rz which shows information of named - Zend extension. + . Added command line option --rz which shows information of the + named Zend extension. . Interactive readline shell improvements: . Added "cli.pager" php.ini setting to set a pager for output. . Added "cli.prompt" php.ini setting to configure the shell prompt.