note 82874 deleted from function.get-class by cmb
| From: | cmb@php.net | Date: | Wed, 30 Nov 2016 16:34:37 +0000 |
| Subject: | note 82874 deleted from function.get-class by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207760@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
I jumped the gun. The following code also working for statics called inside other classes.
<?php
for( $i=0 ; $i < count($bt) ; $i++)
{
if($bt[$i]['function'] == 'getInstance')
{
$class = $bt[$i]['class'];
} else {
break;
}
}
?>