note 110465 added to function.include-once

From: Date: Wed, 24 Oct 2012 19:45:03 +0000
Subject: note 110465 added to function.include-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-191528@lists.php.net to get a copy of this message
Beware that the _once() behavior apparently only checks the string passed into it and not the actual path. Example, running a.php: //a.php include_once("b.php");//included include_once("b/b.php");//included //b.php include_once("c.php");//included //b/b.php included_once("c.php");//not included ---- Server IP: 69.147.83.199 Probable Submitter: 71.169.135.243 ---- Manual Page -- http://www.php.net/manual/en/function.include-once.php Edit -- https://master.php.net/note/edit/110465 Del: integrated -- https://master.php.net/note/delete/110465/integrated Del: useless -- https://master.php.net/note/delete/110465/useless Del: bad code -- https://master.php.net/note/delete/110465/bad+code Del: spam -- https://master.php.net/note/delete/110465/spam Del: non-english -- https://master.php.net/note/delete/110465/non-english Del: in docs -- https://master.php.net/note/delete/110465/in+docs Del: other reasons-- https://master.php.net/note/delete/110465 Reject -- https://master.php.net/note/reject/110465 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191528) next »