note 102545 deleted from function.spl-autoload by danbrown
[email protected] Mon, 21 Feb 2011 07:04:25 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
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.