Bug #11054 Updated: not a but, but feature request

From: Date: Wed, 23 May 2001 10:18:58 +0000
Subject: Bug #11054 Updated: not a but, but feature request
Groups: php.dev 
Request: Send a blank email to php-dev+get-56462@lists.php.net to get a copy of this message
ID: 11054 Updated by: derick Reported By: hysteric@skynet.be Status: Bogus Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.4 Assigned To: Comments: Errr, the __FILE__ is for the filename, __LINE__ is for the line number. Previous Comments: --------------------------------------------------------------------------- [2001-05-23 11:37:58] zak@php.net The __FILE__ constant contains the current line of the file. --------------------------------------------------------------------------- [2001-05-23 11:35:27] hysteric@skynet.be No where in my book or on a site i can find some easy way to get the current script line. E.g.: if i have some error, i'd like to display on wich line in the php file it has happend. $query="update ...;"; mysql_db_query("web",$query,$link) or die("Error on line xxx of script myscript.php"); thanks --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11054&edit=2

« previous php.dev (#56462) next »