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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php