note 102545 deleted from function.spl-autoload by danbrown
| From: | danbrown@php.net | Date: | Mon, 21 Feb 2011 15:04:25 +0000 |
| Subject: | note 102545 deleted from function.spl-autoload by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177188@lists.php.net to get a copy of this message | ||
Note Submitter: Suman Madavapeddi.
----
//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.