PHP 4.0 Bug #8681: Function arguments in 'global'
| From: | sven at devcon dot net | Date: | Fri, 12 Jan 2001 18:11:42 +0000 |
| Subject: | PHP 4.0 Bug #8681: Function arguments in 'global' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43909@lists.php.net to get a copy of this message | ||
From: sven@devcon.net
Operating system: Linux/FreeBSD
PHP version: 4.0.4
PHP Bug Type: Variables related
Bug description: Function arguments in 'global'
function foo ($bar)
{
global $bar;
# ...
}
Opposite to php3, php4 doesn't warn you. This is now documented.
--
Edit Bug report at: http://bugs.php.net/?id=8681&edit=1