#40660 [Opn->Bgs]: tell me why?

From: Date: Tue, 27 Feb 2007 13:30:35 +0000
Subject: #40660 [Opn->Bgs]: tell me why?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109649@lists.php.net to get a copy of this message
ID: 40660 Updated by: tony2001@php.net Reported By: lgynove at 163 dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: windows xp2 PHP Version: 5.2.1 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-02-27 13:26:49] lgynove at 163 dot com Description: ------------ <?php if (1){ a(); function a(){} } ?> Fatal error: Call to undefined function a() in D:\www\test.php on line 3 Reproduce code: --------------- <?php if (1){ a(); function a(){} } ?> Fatal error: Call to undefined function a() in D:\www\test.php on line 3 Expected result: ---------------- NULL Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40660&edit=1

« previous php.bugs (#109649) next »