Is there a way to print the current line number in a PHP script? I need this to make comprehensive customized error messages. I looked in php.net, but found no such function.
Read the section about 'predefined constants': LINE