note 64347 rejected from ref.soap by bjori

From: Date: Wed, 12 Apr 2006 20:01:51 +0000
Subject: note 64347 rejected from ref.soap by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107925@lists.php.net to get a copy of this message
Note Submitter: timo dot schmid at gmail dot com ---- be careful users! <?php /** * the function call */ foreach(get_declared_classes() as $class){ if(is_callable(array($class, 'anyMethod'))){ print $class.'<br />'; } } /** * prints "SoapClient" (anyMethod replaceable with any String)! */ /** * I hacked it with */ foreach(get_declared_classes() as $class){ if(is_callable(array($class, 'iea_xajax_update')) && $class != 'anyMethod'){ print $class.'<br />'; } } /** * php && soap developes: =D * * maybe already changed in cvs, but i think another magic method is neccessary: __method_exists(String $method) * or something alike... */ ?>

« previous php.notes (#107925) next »