Hi,

I can't instantiate the class, as there is no way to guarantee that the constructor doesn't require arguments, and I don't want to halt program execution if it doesn't implement tester

Greg

Marek Kilimajer wrote:

Maybe

if (new MyClass instanceof_equiv tester) {
    ...
}
?>








-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to