Re: implicit reference
| From: | Ferenc Kovacs | Date: | Mon, 31 Jan 2011 17:45:25 +0000 |
| Subject: | Re: implicit reference | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51390@lists.php.net to get a copy of this message | ||
On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm <mathiasgrimm@gmail.com>wrote:
> I am migrating a huge php 4 system to php 5.3.
>
> I need something like a op override for the = operator.
>
> I'm working on a script with lots of ER + token_get_all but its also a hard
> work.
>
> Any suggestion ?
>
> I dont want refereces.. except in explicit cases and i need to use php 5.3
>
hi
it would be a better to migrate the project to using cloning where
neccessary
http://php.net/manual/en/language.oop5.cloning.php
but until that, you can use some hack like
http://pecl.php.net/package/operator (don't
know if it works with 5.3)
Tyrael