Back to call_time_pass_reference - backport PHP 6 behaviour?

From: Date: Sun, 15 Jun 2008 12:51:41 +0000
Subject: Back to call_time_pass_reference - backport PHP 6 behaviour?
Groups: php.internals 
Request: Send a blank email to internals+get-38252@lists.php.net to get a copy of this message
Hi all, I just noticed (don't ask) there are a couple of checks in zend_do_pass_param() in CVS HEAD that don't exist in PHP_5_3: if (original_op==ZEND_SEND_REF) { if (function_ptr &&
     function_ptr->common.function_name.v &&
     function_ptr->common.type == ZEND_USER_FUNCTION &&
     !ARG_SHOULD_BE_SENT_BY_REF(function_ptr, (zend_uint) offset)) {
zend_error(E_DEPRECATED, "Call-time pass-by-reference has been deprecated; "... Is there any chance of back-porting the common.type check to 5_3? - Steph

« previous php.internals (#38252) next »