php check if abstract method exists

metallphilin

New Member
\[code\]abstract class A{ abstract test(); function __construct (){ //check if test method exists on B// }}class B extends A{}new B();\[/code\]my question is ... is there a way to check if the \[code\]test\[/code\] method exists on \[code\]class B\[/code\]?so I can avoid the fatal error ?hope it makes sense.
 
Back
Top