At 11:40 PM 12/1/2003 +0100, Stig S. Bakken wrote:
For the next 18-24 months, we are going to have to deal with code
running in both PHP 4 and 5.  Why not declare "var" an alias for
"public", not throw E_STRICT for it and be done with it?  If not this
issue will be a real PITA for PEAR users.

Stig,


E_STRICT will be disabled by default. It is only meant for people who want to be sure that they are using the recommended methods, and that definitely includes not using var.
People who don't feel like it don't need to use it. It'd be ridiculous to have two new pedantic modes just because of this. It's not as if there are so many things we can recommend on anyway.


Andi

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to