Re: [RFC Proposal] var keyword deprecation/removal

From: Date: Thu, 03 Mar 2016 13:24:10 +0000
Subject: Re: [RFC Proposal] var keyword deprecation/removal
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-91482@lists.php.net to get a copy of this message
Lester Caine wrote on 03/03/2016 13:18:
Actually my problem is even more simple than that - although it may be possible to further filter the lookup for 'var ' ( note the space ) many of the results are simply not text that needs changing.
The script that Colin linked (https://gist.github.com/colinodell/5fb5e5d474674f294a38) uses an in-language tokenizer, not just text find-and-replace, so this is a solved problem. If this turns out to not be smart enough, one built on top of Nikita's PHP-Parser project would be pretty easy as well: https://github.com/nikic/PHP-Parser/ Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#91482) next »