Heya Mike,
-1, this whole idea just sounds so weird for PHP.
Sure, but how PHPish is this fatal error?
[EMAIL PROTECTED]:~/build/php-5.2-debug$ cli -r 'class c{} c::$x=1;'
Fatal error: Access to undeclared static property: c::$x in Command
line code on line 1
The idea, as far as I understood, was to allow this things with
non-strict classes once we have strict classes.
Nothing like telling it backwards, mm?
OK, for some reason I was under the impression that that behaviour had been
reverted and this was an attempt to put it back in <sigh />
Make that a +1 for exactly the same reason it was a -1 before. If it counts,
which it probably doesn't.
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php