PHP/Language Basics/Pre Defined Constant

Материал из Web эксперт
Перейти к: навигация, поиск

__FILE__: The name of the script file being parsed

   <source lang="html4strict">

<? echo "
This file is ".__FILE__; ?>

      </source>
   
  


__LINE__: The number of the line in the script being parsed

   <source lang="html4strict">

<? echo "
This is line number ".__LINE__; ?>


      </source>