ID: 20406 Comment by: abc--68 at 163 dot com Reported By: fredbird at contactoffice dot net Status: Bogus Bug Type: Variables related Operating System: Windows XP PHP Version: 4.2.0 New Comment:
PHP4.3.4 is very good,but PHP4.3.8 is bad: ¡°PHP has encountered an Access Violation at 01390AFD¡± Previous Comments: ------------------------------------------------------------------------ [2002-11-13 04:58:33] [EMAIL PROTECTED] 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. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-11-13 04:39:32] fredbird at contactoffice dot net The function defined() always return false within a function or class, although the value of the constant is still available. the code : <?php define(NAME, "value"); function f() { if (defined(NOM)) echo "NOM is defined"; echo NOM; } f(); ?> will print "value" only. Currently tested with EasyPHP running with a Windows XP computer. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20406&edit=1