Echoing the line and file predefined constants : __LINE « File Directory « PHP






Echoing the line and file predefined constants

 
<?php
echo "Executing line " . __LINE__ . " of PHP script " . __FILE__ . ".";
?>
  
  

Related examples in the same category

1.Using __FILE__ and __LINE__