Answer Abstract class: An abstract class is a class that really isn’t supposed to ever be instantiated but instead serve as a base class to be inherited by other classes. Syntax->
abstract class Class_name{
//insert attribute definitions here.
//insert method definitions here.
}
Interface: An interface defines a general specification for implementing a particular service,
declaring the required functions and constants without specifying exactly how it must be
implemented. In PHP, an interface is created like so :
Interface InterfaceName{
CONS 1;
………..
CONS N;
function methodName1();
……………………………………..
function methodNameN();
}
: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in