Question: How to call constructor of parent class?
parent::constructor()
Question: What is use of var_dump?
It is used to display the data-type and values of variable. For Example.
$name='WTEN'; var_dump($name);
Question: What is final class
It is class which can not be inherited. Following are example of final class final class baseclass{ public function testmethod() { echo "base class method"; } }
Question: How can we define constants in PHP?
define('WTEN','Web Technology Experts Notes'); //How to define constants echo WTEN;//How to use constants