How to Declare Abstract Class in PHP ?

How to Declare Abstract Class in PHP ?

hi,

I am a PHP Beginners. As i am trying to make an application where i trying to declare the abstract class of PHP. Please any one explain me how to declare abstract class in PHP program with example. Please feel free to suggestion.............

Thanks,

View Answers

April 7, 2011 at 10:31 AM

Hi,

The Abstract class concept is that we need to extend this class by its descendant class(es). If a class contains abstract method then the class must be declared as abstract. To Declare the abstract class in PHP please visit the below link.

http://www.roseindia.net/tutorial/php/phpoop/php-abstract-class.html

Thanks,









Related Tutorials/Questions & Answers:

Ads