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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to