Is there any way to show the error file without showing the dir information?

From: Date: Fri, 29 Apr 2005 18:37:49 +0000
Subject: Is there any way to show the error file without showing the dir information?
Groups: php.general 
Request: Send a blank email to php-general+get-214225@lists.php.net to get a copy of this message
In many case, if there is an error happen in a php script, it may return an error message something like " Parse error: parse error, unexpected T_FUNCTION in /home/content/usr/html/test.php on line 6" Is there any way to not show the dir information, but only as "test.php on line 6" instead?

« previous php.general (#214225) next »