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

From: Date: Wed, 23 May 2001 09:38:06 +0000
Subject: Bug #11054 Updated: not a but, but feature request
Groups: php.dev 
Request: Send a blank email to php-dev+get-56458@lists.php.net to get a copy of this message
ID: 11054 Updated by: zak Reported By: hysteric@skynet.be Old-Status: Open Status: Bogus Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.4 Assigned To: Comments: The __FILE__ constant contains the current line of the file. Previous Comments: --------------------------------------------------------------------------- [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 (#56458) next »