PHP Line Number constant

PHP has a constant for the current line number, and the current filename. Useful for debugging as you can pepper them through your code and see where it stops working.

print __FILE__ . " " . __LINE__;


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 44.213.60.33
To prevent spam please submit by clicking the kitten: