note 69599 added to function.require-once
| From: | dercsar at gmail dot com | Date: | Tue, 12 Sep 2006 12:07:37 +0000 |
| Subject: | note 69599 added to function.require-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117053@lists.php.net to get a copy of this message | ||
require_once is NOT case-insesitive when looking for already included files:
require_once 'DB/DataObject.php';
require_once 'DB/Dataobject.php'; // note the difference!
will cause a strange error log, because php will include the file two times.
(PHP 4.3.10)
----
Server IP: 64.71.164.2
Probable Submitter: 80.99.216.94
----
Manual Page -- http://www.php.net/manual/en/function.require-once.php
Edit -- https://master.php.net/note/edit/69599
Del: integrated -- https://master.php.net/note/delete/69599/integrated
Del: useless -- https://master.php.net/note/delete/69599/useless
Del: bad code -- https://master.php.net/note/delete/69599/bad+code
Del: spam -- https://master.php.net/note/delete/69599/spam
Del: non-english -- https://master.php.net/note/delete/69599/non-english
Del: in docs -- https://master.php.net/note/delete/69599/in+docs
Del: other reasons-- https://master.php.net/note/delete/69599
Reject -- https://master.php.net/note/reject/69599
Search -- https://master.php.net/manage/user-notes.php