ID: 45994
User updated by: ipseno at yahoo dot com
Reported By: ipseno at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: PHP options/info functions
Operating System: Windows XP SP3
PHP Version: 5.3.0alpha2
New Comment:
Thanks.
I'll "play" with it...
Previous Comments:
------------------------------------------------------------------------
[2008-09-12 13:00:50] lbarnaud@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.3-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.3-win32-installer-latest.msi
------------------------------------------------------------------------
[2008-09-04 20:46:41] jani@php.net
As mentioned on the internals list, this should cause a syntax error.
Much like in PHP code this would not work:
<?php $foo = "bar\"; ?>
------------------------------------------------------------------------
[2008-09-04 16:22:54] johannes@php.net
We're talking about ini files here, we always had different rules in
ini files than regular code!
Not sure if this is caused by Jani's improvements in the parsing or by
some re2c work, but it should certainly work as before else many Windows
users will have this issue!
------------------------------------------------------------------------
[2008-09-04 14:46:00] ipseno at yahoo dot com
Wait, wait...
Now I know, why did I posted this question...
Now I reverted PHP to version 5.2.6
And there is NO problems with:
upload_tmp_dir = "E:\"
BUT, when i copy that php.ini file to PHP 5.3 alpha2
THEN
upload_tmp_dir = "E:\"
causes behavior as explained above.
That is a reason why did I cretaed this "bug" report
In 5.2.6 "\" doesn't escape, but in 5.3 alpha2 it does!
How come?!
------------------------------------------------------------------------
[2008-09-04 14:20:26] ipseno at yahoo dot com
Actually...
"\" at the END of ANY directive in php.ini breaks configuration under
WinXP
Ie:
error_log = "E:\php-5.3.0alpha2\error.log\"
variables_order = "GPCS\"
------------------------------------------------------------------------
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
http://bugs.php.net/45994--
Edit this bug report at http://bugs.php.net/?id=45994&edit=1