nmohamm Posted May 18, 2010 Share Posted May 18, 2010 Can anyone help me with the following question please?? 1. Using PHP, determine whether the method 'happy_days' exists in the class Test. class Test{ public function happy_days(){ return null; } } Answer: Link to comment https://forums.phpfreaks.com/topic/202206-php-method-question-help/ Share on other sites More sharing options...
teamatomic Posted May 19, 2010 Share Posted May 19, 2010 method_exists http://php.net/manual/en/function.method-exists.php HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/202206-php-method-question-help/#findComment-1060326 Share on other sites More sharing options...
kenrbnsn Posted May 19, 2010 Share Posted May 19, 2010 Stop asking for your homework to be completed by us. Link to comment https://forums.phpfreaks.com/topic/202206-php-method-question-help/#findComment-1060343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.