Magic Constant

Magic constant is predefined constant of php. Magic constant used for know some specific value like line number ,current  class  and function Magic Constant- _FILE_ _LINE_ _DIR_ _CLASS_ _FUNCTION_ _METHOD_ PHP_VERSION . _FILE_ :- its return full path of current file directory _FILE_ Example Result _LINE_ Its return line number of current file _LINE_ Example…

Read More