On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm <mathiasgr...@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