moriyoshi Tue, 15 Sep 2009 00:09:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288345
Log: - WS fix (spaces to tabs) Changed paths: U php/php-src/branches/PHP_5_2/Zend/zend_execute_API.c U php/php-src/branches/PHP_5_3/Zend/zend_execute_API.c U php/php-src/trunk/Zend/zend_execute_API.c Modified: php/php-src/branches/PHP_5_2/Zend/zend_execute_API.c =================================================================== --- php/php-src/branches/PHP_5_2/Zend/zend_execute_API.c 2009-09-14 22:47:09 UTC (rev 288344) +++ php/php-src/branches/PHP_5_2/Zend/zend_execute_API.c 2009-09-15 00:09:13 UTC (rev 288345) @@ -921,7 +921,7 @@ for (i=0; i<fci->param_count; i++) { zval *param; - if(EX(function_state).function->type == ZEND_INTERNAL_FUNCTION + if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION && !ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1) && PZVAL_IS_REF(*fci->params[i])) { SEPARATE_ZVAL(fci->params[i]); Modified: php/php-src/branches/PHP_5_3/Zend/zend_execute_API.c =================================================================== --- php/php-src/branches/PHP_5_3/Zend/zend_execute_API.c 2009-09-14 22:47:09 UTC (rev 288344) +++ php/php-src/branches/PHP_5_3/Zend/zend_execute_API.c 2009-09-15 00:09:13 UTC (rev 288345) @@ -837,7 +837,7 @@ for (i=0; i<fci->param_count; i++) { zval *param; - if(EX(function_state).function->type == ZEND_INTERNAL_FUNCTION + if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION && !ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1) && PZVAL_IS_REF(*fci->params[i])) { SEPARATE_ZVAL(fci->params[i]); Modified: php/php-src/trunk/Zend/zend_execute_API.c =================================================================== --- php/php-src/trunk/Zend/zend_execute_API.c 2009-09-14 22:47:09 UTC (rev 288344) +++ php/php-src/trunk/Zend/zend_execute_API.c 2009-09-15 00:09:13 UTC (rev 288345) @@ -872,7 +872,7 @@ for (i=0; i<fci->param_count; i++) { zval *param; - if(EX(function_state).function->type == ZEND_INTERNAL_FUNCTION + if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION && !ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1) && PZVAL_IS_REF(*fci->params[i])) { SEPARATE_ZVAL(fci->params[i]);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php