Wo0tHigh Posted April 18, 2008 Share Posted April 18, 2008 Hi Im sure there is a PHP function which returns which line it is on, but I cant find it, wonder if you guys knew what it was (if it exists) thanks in advance! Dan Link to comment https://forums.phpfreaks.com/topic/101666-php-line-function/ Share on other sites More sharing options...
Daniel0 Posted April 18, 2008 Share Posted April 18, 2008 There is a constant which does it: __LINE__ http://php.net/manual/en/language.constants.predefined.php Link to comment https://forums.phpfreaks.com/topic/101666-php-line-function/#findComment-520224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.