Re: PHP 6.0 Wishlist

From: Date: Wed, 14 Sep 2005 12:18:40 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18872@lists.php.net to get a copy of this message
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

« previous php.internals (#18872) next »