html - How do I incorporate the line number of php source code in a custom error message? -
i want proper error generator when i'm programming (html + php). how can take line, when have error, , put in variable?
example :
echo " error # 03: variable undefined line #".$line." ";
thanks.
the variables you'd looking are:
__line__ __file__ __function__ __class__
Comments
Post a Comment