Jakob Buchgraber wrote:
Hello!
It would be nice if in PHP 6 using constant parameters for functions and
methods would be possible. This feature is e.g. available in Java.
function doSth (const A) {
if (defined ("A")) echo "A is a constant";
}
doSth ("foo");
Cheers,
Jay
Hmm, can you give me a better example of how that would be used? I
don't see the use in this short example.
--
Brian Moon
-------------
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php