PHP/Language Basics/Pre Defined Constant

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

__FILE__: The name of the script file being parsed

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



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

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