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

razor - Is this a bug in WebMatrix PageData? -

iphone - Requiring the presence of a method in an id -

xslt - Is it possible to select a node that just includes a subset of the child nodes? -