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

From: Date: Wed, 23 May 2001 10:24:55 +0000
Subject: Re: Bug #11054 Updated: not a but, but feature request
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-56464@lists.php.net to get a copy of this message
Errr... ummmm... I should go to bed now... Thanks Derick! --zak ----- Original Message ----- From: <derick@php.net> To: <php-dev@lists.php.net> Sent: Wednesday, May 23, 2001 4:18 AM Subject: [PHP-DEV] Bug #11054 Updated: not a but, but feature request > 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 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#56464) next »