Bug #3403 Updated: duplicate loading of include files

From: Date: Fri, 28 Jul 2000 00:02:22 +0000
Subject: Bug #3403 Updated: duplicate loading of include files
Groups: php.dev 
Request: Send a blank email to php-dev+get-26646@lists.php.net to get a copy of this message
ID: 3403 Updated by: hholzgra Reported By: terado@hotmail.com Status: Closed Bug Type: Other Assigned To: Comments: on php4 you have include_once() and require_once() for php3 you can do: ---8<----- filename.inc ----------------- if(! $included_filename){ ... whatever code you want, including function definitions ... } $included_filename=true; --------------------->8----- Full Bug description available at: http://bugs.php.net/?id=3403

« previous php.dev (#26646) next »