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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -