note 102545 added to function.spl-autoload

From: Date: Sun, 20 Feb 2011 23:32:21 +0000
Subject: note 102545 added to function.spl-autoload
Groups: php.notes 
Request: Send a blank email to php-notes+get-177163@lists.php.net to get a copy of this message
//test.php class Test{ public $val; public function Test($val){ echo $this->val = $val; echo "Constructor like method"; } } //Test2.php spl_autoload_call('test');//This works spl_autoload('test'); //This would work too $tis = new Test(10); // what wold be the difference between the spl_autoload_call and spl_autoload.Can any one site the difference. ---- Server IP: 69.147.83.197 Probable Submitter: 75.187.148.110 ---- Manual Page -- http://www.php.net/manual/en/function.spl-autoload.php Edit -- https://master.php.net/note/edit/102545 Del: integrated -- https://master.php.net/note/delete/102545/integrated Del: useless -- https://master.php.net/note/delete/102545/useless Del: bad code -- https://master.php.net/note/delete/102545/bad+code Del: spam -- https://master.php.net/note/delete/102545/spam Del: non-english -- https://master.php.net/note/delete/102545/non-english Del: in docs -- https://master.php.net/note/delete/102545/in+docs Del: other reasons-- https://master.php.net/note/delete/102545 Reject -- https://master.php.net/note/reject/102545 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177163) next »