Re: [PHP] line number

2003-02-25 Thread Leif K-Brooks
Use the __LINE__ "magic constant". Chandler, Jacob R wrote: What function can I use to find out the current line number? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Ma

Re: [PHP] line number

2003-02-25 Thread 1LT John W. Holmes
The constant __LINE__ works well. ---John Holmes... - Original Message - From: "Chandler, Jacob R" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 2:21 PM Subject: [PHP] line number What function can I use to find out the current

[PHP] line number

2003-02-25 Thread Chandler, Jacob R
What function can I use to find out the current line number?

Re: [PHP] Line Number function?

2003-02-01 Thread Philip Olson
On Sun, 2 Feb 2003, Michael Sims wrote: > On Sat, 1 Feb 2003 19:59:00 -0800, you wrote: > > >PHP keeps track of what line# is being executed, so that when there's an > >error (say in pg_exec() ) it reports what line the error occured on. > [...] > >Is there a function where I can access this in

Re: [PHP] Line Number function?

2003-02-01 Thread Michael Sims
On Sat, 1 Feb 2003 19:59:00 -0800, you wrote: >PHP keeps track of what line# is being executed, so that when there's an >error (say in pg_exec() ) it reports what line the error occured on. [...] >Is there a function where I can access this information? Something like >"get_line();" or somethin

RE: [PHP] Line Number function?

2003-02-01 Thread Steven Balthazor
] Line Number function? PHP keeps track of what line# is being executed, so that when there's an error (say in pg_exec() ) it reports what line the error occured on. This appears to happen even during runtime (not just during compilation). For ex

[PHP] Line Number function?

2003-02-01 Thread Benjamin Smith
PHP keeps track of what line# is being executed, so that when there's an error (say in pg_exec() ) it reports what line the error occured on. This appears to happen even during runtime (not just during compilation). For example: - -- This woul

[PHP] Line number of error

2001-09-06 Thread Jonathan Hilgeman
Is there any way to print the current line number? i.e. 43 print "blah"; 44 print "this is line $LineNumber"; 45 print "etc"; and have it result in : blahthis is line 44etc ? - Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit