__FILE__ behavior changed between last week and this week
| Bug #36809 | __FILE__ behavior changed between last week and this week | ||||
|---|---|---|---|---|---|
| Submitted: | 2006-03-21 00:02 UTC | Modified: | 2006-03-21 09:50 UTC | ||
| From: | cellog@php.net | Assigned: | dmitry (profile) | ||
| Status: | Closed | Package: | Scripting Engine problem | ||
| PHP Version: | 5CVS-2006-03-20 (CVS) | OS: | linux (gentoo) | ||
| Private report: | No | CVE-ID: | None | ||
[2006-03-21 00:02 UTC] cellog@php.net
Description: ------------ if test.php is: <?php echo __FILE__; ?> running "php test.php" used to spit out the full path to test.php, now it just spits out "test.php" note that php -r "include 'test.php';" spits out the whole path to test.php
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-03-21 00:02 UTC] cellog@php.net
[2006-03-21 00:09 UTC] tony2001@php.net