PHP 4.0 Bug #5789: missing arguments

From: Date: Wed, 26 Jul 2000 01:42:14 +0000
Subject: PHP 4.0 Bug #5789: missing arguments
Groups: php.dev 
Request: Send a blank email to php-dev+get-26178@lists.php.net to get a copy of this message
From: steeven@kali.com.cn Operating system: win98 PHP version: 4.0.1pl2 PHP Bug Type: Other Bug description: missing arguments here is a short sample program: <?php test(); function test($a1){ echo "test"; } ?> and an warning is shown: Warning: Missing argument 1 for test() in e:\apache\htdocs\bbs\test1.php on line 3 test There is no problem when I use php4.0.0, anyone have the same problem? win98+apache+php4.0.1pl2

« previous php.dev (#26178) next »