Posted inFreetoolptmethod_exists () in php?by Shashikant Kumar•December 30, 2021•0method_exists () in php?<?phpclassA{publice function foo()}echo “foo”;}publice function bar(){if(method_exists($this,’foo’))}else{echo “method does not”;}}}$obj=newA;$obj->barb;?>Outputmethod existsRelated posts:transmission media in computer network in hindiDocument verification kya hainजावास्क्रिप्ट break तथा continue स्टेटमेंट्स :- PRACTICAL :- 12 Shashikant Kumar More by Shashikant Kumar