something like __FILE__ and __LINE__ in C ?

From: Date: Fri, 03 Dec 1999 15:23:37 +0000
Subject: something like __FILE__ and __LINE__ in C ?
Groups: php.version4 
Request: Send a blank email to php-version4+get-7331@lists.php.net to get a copy of this message
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 ...?

« previous php.version4 (#7331) next »