RE: [PHP] What these two things mean: __FILE__ and __LINE__

2002-09-10 Thread Martin Towell

If I remember correctly
__FILE__ contains the current file name of the script
__LINE__ contails the current line number in the script
__PATH__ contains the path to the current script

HTH
Martin

-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 7:56 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] What these two things mean: __FILE__ and __LINE__


I read the link, still don't get what are the exact meaning of those
two things. What the link refered is a section from PHP manul that
I have a copy on my local computer, and to me it doesn't seems
like a formal defination of them. From the messages appending
to the ariticle I saw one more thing don't understand: __PATH__.

Alex


"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
008801c2590a$28d7ede0$6501a8c0@kevin">news:008801c2590a$28d7ede0$6501a8c0@kevin...
> http://www.php.net/manual/en/language.constants.php
> -Kevin
>
>
> - Original Message -
> From: "Alex Shi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 10, 2002 2:31 PM
> Subject: [PHP] What these two things mean: __FILE__ and __LINE__
>
>
> > What these two things mean: __FILE__ and __LINE__ ?
> >
> > I searched manul but find nothing about them...
> >
> > Alex
> >
> > --
> > ---
> > TrafficBuilder Network:
> > http://www.bestadv.net/index.cfm?ref=7029
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] What these two things mean: __FILE__ and __LINE__

2002-09-10 Thread Alex Shi

I read the link, still don't get what are the exact meaning of those
two things. What the link refered is a section from PHP manul that
I have a copy on my local computer, and to me it doesn't seems
like a formal defination of them. From the messages appending
to the ariticle I saw one more thing don't understand: __PATH__.

Alex


"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
008801c2590a$28d7ede0$6501a8c0@kevin">news:008801c2590a$28d7ede0$6501a8c0@kevin...
> http://www.php.net/manual/en/language.constants.php
> -Kevin
>
>
> - Original Message -
> From: "Alex Shi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 10, 2002 2:31 PM
> Subject: [PHP] What these two things mean: __FILE__ and __LINE__
>
>
> > What these two things mean: __FILE__ and __LINE__ ?
> >
> > I searched manul but find nothing about them...
> >
> > Alex
> >
> > --
> > ---
> > TrafficBuilder Network:
> > http://www.bestadv.net/index.cfm?ref=7029
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Fw: [PHP] What these two things mean: __FILE__ and __LINE__

2002-09-10 Thread Kevin Stone

http://www.php.net/manual/en/language.constants.php
-Kevin


- Original Message - 
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 2:31 PM
Subject: [PHP] What these two things mean: __FILE__ and __LINE__


> What these two things mean: __FILE__ and __LINE__ ?
> 
> I searched manul but find nothing about them...
> 
> Alex
> 
> -- 
> ---
> TrafficBuilder Network: 
> http://www.bestadv.net/index.cfm?ref=7029
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] What these two things mean: __FILE__ and __LINE__

2002-09-10 Thread Alex Shi

What these two things mean: __FILE__ and __LINE__ ?

I searched manul but find nothing about them...

Alex

-- 
---
TrafficBuilder Network: 
http://www.bestadv.net/index.cfm?ref=7029


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php