Exception handling in oop PHP not working
问题 I am very new to object oriented PHP and trying some basic examples to get good hand on oop php. I have simple exmaple above in which i am trying to learn exception handling and generate an exception error message when age is greater than 20 but not working. <?php interface read_methods { public function read_age($age); } abstract class person { var $gender; var $animal; var $birds; abstract function group($group); function people($value) { $this->gender=$value; } function animals($value) {