note 82874 added to function.get-class
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 30 Apr 2008 04:59:04 +0000 |
| Subject: | note 82874 added to function.get-class | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138925@lists.php.net to get a copy of this message | ||
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;
}
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 203.97.108.111 (proxied: 203.97.108.111)
----
Manual Page -- http://www.php.net/manual/en/function.get-class.php
Edit -- https://master.php.net/note/edit/82874
Del: integrated -- https://master.php.net/note/delete/82874/integrated
Del: useless -- https://master.php.net/note/delete/82874/useless
Del: bad code -- https://master.php.net/note/delete/82874/bad+code
Del: spam -- https://master.php.net/note/delete/82874/spam
Del: non-english -- https://master.php.net/note/delete/82874/non-english
Del: in docs -- https://master.php.net/note/delete/82874/in+docs
Del: other reasons-- https://master.php.net/note/delete/82874
Reject -- https://master.php.net/note/reject/82874
Search -- https://master.php.net/manage/user-notes.php