note 96171 added to function.include

From: Date: Fri, 12 Feb 2010 07:39:02 +0000
Subject: note 96171 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-165898@lists.php.net to get a copy of this message
class someclass { function somefunction() { include 'somefile.php'; } } Somefile will be included each time somefunction is called. So, if your script executes for a long time (cli?), you can update included file without stopping script. At least that works for me. ---- Server IP: 69.147.83.197 Probable Submitter: 95.155.125.242 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/96171 Del: integrated -- https://master.php.net/note/delete/96171/integrated Del: useless -- https://master.php.net/note/delete/96171/useless Del: bad code -- https://master.php.net/note/delete/96171/bad+code Del: spam -- https://master.php.net/note/delete/96171/spam Del: non-english -- https://master.php.net/note/delete/96171/non-english Del: in docs -- https://master.php.net/note/delete/96171/in+docs Del: other reasons-- https://master.php.net/note/delete/96171 Reject -- https://master.php.net/note/reject/96171 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165898) next »