Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] #ifdef and #endif From: Rasmus Lerdorf (rasmus <email protected>)
Date: 07/22/98

> 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. :)

Well, did you try __LINE__ ?

Don't forget, PHP is written by a bunch of C-programmers. If you know the
C way of doing something, try it in PHP. Chances are that if it is
implemented, it works the way it does in C.

-Rasmus

--
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