the constraint is that all need to run on php4.3.6 and 5.3
I have one function called my_clone($obj) {} , if is php5 it is serialized
and deserialized (to clone member recursively), if php4 just return the
parameter.

In first moment Im migrating all assignments to use my_clone and later
manual update each one. im ignoring some obvious assignments like strings,
concatenation, constants and so on.
The system have about 3 million of php 4.3.6 lines, no way to manual
migrating.

By now im mixing ER + token_get_all but is like build a parser...




On Mon, Jan 31, 2011 at 5:53 PM, Pierre Joye <pierre....@gmail.com> wrote:

> hi,
>
> On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm <mathiasgr...@gmail.com>
> wrote:
>
> > I dont want refereces.. except in explicit cases and i need to use php
> 5.3
>
> References have been abused in all possible and impossible ways.
>
> What are the exact cases where you need to do it? Maybe it is already
> treated as reference anyway (like obj as argument for a
> function/method).
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>

Reply via email to