Re: New zend_compile.c to solve all of the duplicate function problems

From: Date: Fri, 19 Oct 2001 09:25:15 +0000
Subject: Re: New zend_compile.c to solve all of the duplicate function problems
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68316@lists.php.net to get a copy of this message
> Since you can no longer do: > > if(!defined(_FOO_INC)): > define('_FOO_INC',1); > > ... > > endif; > > to protect a file from multiple inclusion within the file itself, some This is still a valid construct. I could find nothing in the discussion that would indicate otherwise. The only thing that does not work now, and it did before was: if(!defined(_FOO_INC)): define('_FOO_INC',1); return; endif; ... ...

« previous php.dev (#68316) next »