¡@

Home 

php Programming Glossary: method_a

How can I catch a “catchable fatal error” on PHP type hinting?

http://stackoverflow.com/questions/2468487/how-can-i-catch-a-catchable-fatal-error-on-php-type-hinting

of PHP5 on one of my class class ClassA public function method_a ClassB b class ClassB class ClassWrong Correct usage a new ClassA.. class ClassB class ClassWrong Correct usage a new ClassA a method_a new ClassB producing error a new ClassA a method_a new ClassWrong.. a method_a new ClassB producing error a new ClassA a method_a new ClassWrong Catchable fatal error Argument 1 passed to ClassA..