note 35365 added to function.require-once

From: Date: Thu, 28 Aug 2003 18:38:01 +0000
Subject: note 35365 added to function.require-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-55253@lists.php.net to get a copy of this message
Is there any way to emulate require_once and include_once in something like 4.0b4pl1, which was just before the 4.0RC1 that introduced these two functions? I have a server with that older PHP version (specifically for a certain application) to which I must add an app that is replete with require_once and include_once statements. I don't mind going through and rewriting some of the code to emulate those functions with some sort of wrapper on require and include, but I haven't a clue about how to do it. ---- Manual Page -- http://www.php.net/manual/en/function.require-once.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35365 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35365&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35365&report=yes

« previous php.notes (#55253) next »