RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c zend_compile.c zend_exceptions.c zend_execute_API.c zend_object_handlers.c
zend_object_handlers.h zend_reflection_api.c zend_vm_def.h zend_vm_execute.h zend_vm_opcodes.h
| From: | Dmitry Stogov | Date: | Mon, 22 Aug 2005 05:50:42 +0000 |
| Subject: | RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c zend_compile.c zend_exceptions.c zend_execute_API.c zend_object_handlers.c zend_object_handlers.h zend_reflection_api.c zend_vm_def.h zend_vm_execute.h zend_vm_opcodes.h |
||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4058@lists.php.net to get a copy of this message | ||
Hi Marcus,
We can remove passing by reference on parser level.
I can do it after common decision.
Dmitry.
> -----Original Message-----
> From: Marcus Boerger [mailto:helly@php.net]
> Sent: Saturday, August 20, 2005 4:13 PM
> To: Dmitry Stogov
> Cc: zend-engine-cvs@lists.php.net
> Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 /
> zend_builtin_functions.c zend_compile.c zend_exceptions.c
> zend_execute_API.c zend_object_handlers.c
> zend_object_handlers.h zend_reflection_api.c zend_vm_def.h
> zend_vm_execute.h zend_vm_opcodes.h
>
>
> Hello Dmitry,
>
> Friday, August 19, 2005, 3:20:17 PM, you wrote:
>
> > dmitry Fri Aug 19 09:20:17 2005 EDT
>
> > Modified files:
> > /ZendEngine2 zend_builtin_functions.c zend_compile.c
> > zend_exceptions.c zend_execute_API.c
> > zend_object_handlers.c
> zend_object_handlers.h
> > zend_reflection_api.c zend_vm_def.h
> zend_vm_execute.h
> > zend_vm_opcodes.h
> > Log:
> > Unicode support
>
>
>
> @@ -1539,10 +1539,11 @@
> && !CG(allow_call_time_pass_reference)) {
> zend_error(E_COMPILE_WARNING,
> "Call-time
> pass-by-reference has been deprecated - argument passed by value; "
> - "If you would like to
> pass it by reference, modify the declaration of %s(). "
> + "If you would like to
> pass it by
> + reference, modify the declaration of %R(). "
> "If you would like to
> enable call-time pass-by-reference, you can set "
>
> "allow_call_time_pass_reference to true in your INI file. "
> "However, future
> versions may not support this any longer. ",
> + (function_ptr &&
> + UG(unicode))?IS_UNICODE:IS_STRING,
>
> (function_ptr?function_ptr->common.function_name:"[runtime
> function name]"));
> }
>
>
> Shouldn't we simply get rid of this, it's been ofically
> banned erm deprecated for ages?
>
> Best regards,
> Marcus
>
> --
> Zend Engine CVS Mailing List (http://cvs.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>