note 40715 added to function.method-exists

From: Date: Fri, 12 Mar 2004 03:21:47 +0000
Subject: note 40715 added to function.method-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-66694@lists.php.net to get a copy of this message
In response to chilla, I didn't find that it worked for me using PHP 4.3.4. <?php class foo { function bar(){ } } if (function_exists("foo::bar")) echo("yes"); else echo "no"; ?> Only outputs "no" for me. ---- Manual Page -- http://www.php.net/manual/en/function.method-exists.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40715 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40715&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40715&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66694) next »