note 111556 added to function.include-once

From: Date: Mon, 04 Mar 2013 05:47:25 +0000
Subject: note 111556 added to function.include-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-193789@lists.php.net to get a copy of this message
I would like to point out that (for both include_once and require_once), if you're using these to load code, (i.e. you require/include a file that only returns data), this function will return the data for the first time but only return true for all subsequent times. ---- Server IP: 69.147.83.199 Probable Submitter: 177.192.42.179 ---- Manual Page -- http://php.net/manual/en/function.include-once.php Edit -- https://master.php.net/note/edit/111556 Del: integrated -- https://master.php.net/note/delete/111556/integrated Del: useless -- https://master.php.net/note/delete/111556/useless Del: bad code -- https://master.php.net/note/delete/111556/bad+code Del: spam -- https://master.php.net/note/delete/111556/spam Del: non-english -- https://master.php.net/note/delete/111556/non-english Del: in docs -- https://master.php.net/note/delete/111556/in+docs Del: other reasons-- https://master.php.net/note/delete/111556 Reject -- https://master.php.net/note/reject/111556 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193789) next »