You can use the magic constant __LINE__ for this.
echo __LINE__;
will show the line number where that statement is in the file.
You can use the magic constant __LINE__ for this.
echo __LINE__;
will show the line number where that statement is in the file.