The wishlist on PHP6 has grown a lot last weeks. Here is what I have
missed so far:
switchable behaviours in php.ini file:
- enforced variable initialisation (throw E_ERROR where today E_NOTICE
is triggered)
- strict variable typing (This can be done with SetType already, but a
nicer language construct as in other languages
(I do not say "C" or "java" ;) would be nice)
- automatic type conversions on|off
And also I would like to see type checking on function parameters for
simple types as "integer", "string" etc... Only having this for classes
is not strict enough.
Also an useful feature would be "const" on function parameters.
just my €0.01
mike
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php