On 17.07.2012, at 23:01, Stas Malyshev wrote: > Hi! > >> Options are: * "5-to-6" tool, similar to python's "2-to-3" converter, >> which will fix code. > > Do you know any practical way of how such tool could work?
That would be: tokenizer + static analysis (with type inference) + replacing some of the tokens. Not a trivial task, but definitely doable. And a large amount of php code (popular tools, frameworks, …) for writing tests :)
signature.asc
Description: Message signed with OpenPGP using GPGMail