ID: 9592 Updated by: andi Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function Assigned To: Comments: Should be fixed in latest CVS. Previous Comments: --------------------------------------------------------------------------- [2001-03-06 20:27:33] [EMAIL PROTECTED] When doing "print(__FILE__);" it only echo's the file name not the full path when the file is included with include_once or require_once. I don't know if this is a bug or not, but my programming staff seems to think its a bug. Example: # php -v 4.0.4pl1 # grep -C php test.* test.inc:<?php print (__FILE__."n"); ?> -- test.php:<?php include_once("test.inc"); ?> # php -q test.php /root/test.inc # grep -C php test.* test.inc:<?php print (__FILE__."n"); ?> -- test.php:<?php include_once("test.inc"); ?> # php -q test.php test.inc # --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9592&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]