Doc #23610 [Com]: PATH_TRANSLATED is EMPTY when PATH_INFO is not set
| From: | kangaroo3265 at op dot pl | Date: | Wed, 01 Feb 2023 11:51:27 +0000 |
| Subject: | Doc #23610 [Com]: PATH_TRANSLATED is EMPTY when PATH_INFO is not set | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-19572@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=23610&edit=1
ID: 23610
Comment by: kangaroo3265 at op dot pl
Reported by: support at sensvirtuel dot com
Summary: PATH_TRANSLATED is EMPTY when PATH_INFO is not set
Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Linux (redhat 8.0)
PHP Version: 4.3.2
Block user comment: N
Private report: N
New Comment:
google.com
Previous Comments:
------------------------------------------------------------------------
[2020-02-07 06:12:11] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=186358848d9c7f79ec1dd49ef8507c97b903335c
Log: fix #23610 (PATH_TRANSLATED is EMPTY)
------------------------------------------------------------------------
[2005-04-06 03:03:54] philip@php.net
All documentation has been updated and will show up when the manual is next built. Thanks for the
report.
------------------------------------------------------------------------
[2004-08-27 01:53:55] philip@php.net
Agreed, especially since this change took place in PHP 4.3.2 and not PHP 5.0.0. Should that note be
removed from the migration5 docs?
I added a note within the PATH_TRANSLATED docs, updated the note in ref.apache, and replaced
PATH_TRANSLATED with SCRIPT_FILENAME in the highlight_file() example. Thank you Kevin for the
report.
There is another open bug report out there that requests every BC break to be documented...like this
one. Once done, this information will be added there as well.
------------------------------------------------------------------------
[2004-08-26 21:01:37] phpbugs at kevin dot offwhite dot net
I just spent a good amount of time trying to figure out why PATH_TRANSLATED suddenly stopped working
on me. Therefore I think you still have a couple documentation issues regarding this.
1) The first place I looked, and the first place I would suspect other people would look, to see if
the variable stopped being supported at a certain revision is:
http://us3.php.net/reserved.variables
2) The example code for highlight_file() should be changed to not use the non-existant
PATH_TRANSLATED variable:
http://us4.php.net/highlight_file
------------------------------------------------------------------------
[2004-04-19 16:52:34] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
This was already in the migration from PHP 4 to PHP 5 appendice.
I've just copied the note to the apache function reference.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=23610
--
Edit this bug report at https://bugs.php.net/bug.php?id=23610&edit=1