Re: Pseudo-objects (methods on arrays, strings, etc.)

From: Date: Tue, 17 Jul 2012 19:12:26 +0000
Subject: Re: Pseudo-objects (methods on arrays, strings, etc.)
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-61375@lists.php.net to get a copy of this message
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 :)

Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
« previous php.internals (#61375) next »