PHP Tutorial : Get line number
May 31, 2009 Useful PHP
As you might know, PHP Server comes with built-in / already defined constants. Today I’ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases, like a custom error system, debugging and not only. That CONSTANT is called simply _LINE_
<?php
print…………….
Read PHP Tutorial : Get line number »
Tags: built-in constant, php constants, php get line number, php line number, _LINE_, _LINE_ already defined constant

