Hi Jakob,
> 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
>
This makes absolute no sense, why you want this?

-- Marco

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to