On Fri, 2005-11-18 at 03:12, Derick Rethans wrote: > On Thu, 17 Nov 2005, Robert Cummings wrote: > > > On Thu, 2005-11-17 at 16:42, Rasmus Lerdorf wrote: > > > Andreas Korthaus wrote: > > > > > > > Can someone tell me the reason for this decision? > > > > > > Very few people converted to using {} so the argument about reading old > > > > Ugh, so those of us that did are going to have to comb back through our > > code and revert after following the original suggestion. UGH! > > This should fix all occurences (even with PHP 5.1.0): > > for i in `find . -name \*.php`; do php -l $i; done > > atleast, if you turn E_STRICT on, with some smart grepping you know in > no-time what to change.
That's pretty cool. I always forget about the -l option. Thanks. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php