php3-list | 199807
Date: 07/22/98
- Next message: Helmut Wirth: "[PHP3] PHP3.0.2a and FreeType Support on UNIX"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Virtual Host Question"
- In reply to: Martin Schapendonk: "Re: [PHP3] #ifdef and #endif"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] #ifdef and #endif"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 09:16 AM 7/22/98 , you wrote:
>On Wed, 22 Jul 1998, Walter Dougoveto wrote:
># Yes that is what I was looking for, but I was hoping there was something I
># could use which would be completely ignored if it was not defined. That
># way when it is turned off it would not slow down the code.
>
>Just a small adjustment:
>
><?
>DEBUG=1; // 1=debug, 0=nodebug
>
>if (!$DEBUG) {
> <some statements>
>}
>?>
Is there a way to have <some statements> return the line number within the
file (such as the __LINE__ preprocessor directive in C)?
An answer to one question leads to another. :)
Thanks,
Walter
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Helmut Wirth: "[PHP3] PHP3.0.2a and FreeType Support on UNIX"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Virtual Host Question"
- In reply to: Martin Schapendonk: "Re: [PHP3] #ifdef and #endif"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] #ifdef and #endif"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

