Bug #61827 [Csd]: incorrect \e processing on Windows
Edit report at https://bugs.php.net/bug.php?id=61827&edit=1
ID: 61827
Updated by: yohgaki@php.net
Reported by: ab@php.net
Summary: incorrect \e processing on Windows
Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: windows
PHP Version: 5.4.0
Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
abanarn
It would be better to open new report. Please do it with details.
Previous Comments:
------------------------------------------------------------------------
[2014-07-08 17:51:09] abanarn at gmail dot com
Recently, I have been working on upgrading my php5.3 in my Windows servers. I have noticed that some
of the includes are failing because the path name has \e for example : C:\epo\example.php and it
thinks that "\e" is an escape code for ESC.
No issues in <= php-5.4.3
In php >= 5.4.4 I received the below:
Warning: require(C:âpo\example.php): failed to open stream: In
valid argument in C:\php\db_connection.php on line 20
Fatal error: require(): Failed opening required 'C:âpo\example.php'
------------------------------------------------------------------------
[2012-04-30 05:24:26] pajoye@php.net
hi Felipe!
Please use VK_ESCAPE instead.
Thanks!
------------------------------------------------------------------------
[2012-04-29 22:38:38] felipe@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2012-04-29 22:37:42] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cc5b995c78038b92317b38356c9009ff80850d8b
Log: - Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net
------------------------------------------------------------------------
[2012-04-26 14:56:44] ab@php.net
As a variation VK_ESCAPE or 0x1b could be used to represent \e on windows, which is equivalent to
(char)27
------------------------------------------------------------------------
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=61827
--
Edit this bug report at https://bugs.php.net/bug.php?id=61827&edit=1
Thread (8 messages)