note 64347 modified in ref.soap by bjori

From: Date: Wed, 12 Apr 2006 20:00:23 +0000
Subject: note 64347 modified in ref.soap by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107922@lists.php.net to get a copy of this message
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... */ ?> --was-- 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... */ ?> http://php.net/manual/en/ref.soap.php

« previous php.notes (#107922) next »