note 8966 added to define

From: Date: Mon, 09 Oct 2000 16:33:24 +0000
Subject: note 8966 added to define
Groups: php.notes 
Request: Send a blank email to php-notes+get-6238@lists.php.net to get a copy of this message
The documentation states that "Constants may be accessed anywhere without regard to variable scoping rules;" but I'm dubious. I have defined a constant in an included file and successfully referenced it in the parent file. However, if I try to reference this constant inside any functions...no dice. Any suggestions? http://www.php.net/manual/function.define.php

« previous php.notes (#6238) next »