Name of file currently being processed
| From: | Joey Smith | Date: | Tue, 18 Jul 2000 03:02:32 +0000 |
| Subject: | Name of file currently being processed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24838@lists.php.net to get a copy of this message | ||
Is there any way to find out the name of the file currently being
processed? For example:
p1.php
<?php
include "p2.php";
?>
p2.php
<?php
include "p3.php";
print current_file();
?>
p3.php
<?php
print current_file();
?>
Hitting p1.php would print:
p3.php
p2.php