Username
Password
Remember me
Lost Password?
Home
Articles
Web Design
Mixes
Images
Python
Search
Programming
Operating Systems
Producing
DJing
Blog
Jokes
Programming menu
PHP
Python
Apple
Classic ASP
SQL / mysql
AJAX
ASP.NET
CSS
HTML
Javascript
Joomla
Joomla Tutorial
VB / VB.NET
Links
Home
Articles
Programming
How to get the current line number of code in PHP
How to get the current line number of code in PHP
Tag it:
?
User Rating:
/ 0
Poor
Best
// Echo's the line number in the function, not where the error happened. function echo_error($text) { echo 'ERROR: '.$text.' on '.__LINE__; }
Comments
Search
Only registered users can write comments!
< Prev
Next >
[ Back ]