Re: [PHP4BETA] something like __FILE__ and __LINE__ in C ?

From: Date: Fri, 03 Dec 1999 15:34:04 +0000
Subject: Re: [PHP4BETA] something like __FILE__ and __LINE__ in C ?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7334@lists.php.net to get a copy of this message
Hartmut Holzgraefe wrote: > > PHP can tell current file name and line number in error messages > so it does keep track of them somewhere > > are theese informations made available to the php language level > or are they just kept internally ? > > something like the __FILE__ and __LINE__ macros in the C Preprocessor > would be really helpfull for debugging purposes > > maybe there are some special global variables that provide theese > settings ? > > and, by the way, does a list of all special global variables exist > somewhere > in the information ( i couldn't find any ) or is someone working on it > ...? Do you mean something that is written in http://www.php.net/manual/language.constants.php3 -Egon -- Six Offene Systeme GmbH · Sielminger Straße 63 · D-70771 L.-Echterdingen Fon +49 711 9 90 91 64 · http://www.six.de/ Fax +49 711 9 90 91 99 · mailto:egon@six.de

« previous php.version4 (#7334) next »