> It was brought to my attention that this code is legal in PHP 4:
>
> function foo($param = 'test')
> {
> global $$param;
> echo $$param;
> }
>
> $test = 'bar';
> foo(); // prints bar
>
> Is this a feature or a bug? (Should we support this syntax in
> phpDocumentor, or might it change in php 5?)
>
It's a feature, and it ain't goin' nowhere.-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
