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 line number? -- PHP Gene

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
I think what you are looking for is: __LINE__ See: http://www.php.net/manual/en/language.constants.predefined.php Cheers, Steven Balthazor -Original Message- From: Benjamin Smith [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 01, 2003 8:59 PM To: [EMAIL PROTECTED] Subject: [PHP] L