Bug #13568: PHP3 semantics have been retained for nested functions

From: Date: Fri, 05 Oct 2001 18:56:31 +0000
Subject: Bug #13568: PHP3 semantics have been retained for nested functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-67369@lists.php.net to get a copy of this message
From: alvarez@st-oneline.net Operating system: Linux 2.2.19 PHP version: 4.0.5 PHP Bug Type: *General Issues Bug description: PHP3 semantics have been retained for nested functions container (); a script to reproduce the error quickly. function container () { function nested_php3 () { echo "this will be output"; } nested_php3 (); nested_php4 (); function nested_php4 () { echo "this won't be output"; } } -- Edit bug report at: http://bugs.php.net/?id=13568&edit=1

« previous php.dev (#67369) next »