ID: 35527
User updated by: judas dot iscariote at gmail dot com
Reported By: judas dot iscariote at gmail dot com
-Status: Bogus
+Status: Open
-Bug Type: Strings related
+Bug Type: Documentation problem
Operating System: Linux
PHP Version: 5CVS-2005-12-02 (CVS)
Assigned To: iliaa
New Comment:
php t.php
... abc ...
... {abc} ...
PHP 4.3.10 (cli) (built: Nov 18 2005 00:58:42)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
So.. another Backward incompatible change ??
it 's not mentioned in the upgrade Guide...
http://www.php.net/README_UPGRADE_51.php
Previous Comments:
------------------------------------------------------------------------
[2005-12-03 02:03:31] [EMAIL PROTECTED]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
This is expected behaviour, {} is no longer special, they are being
treated like any other character.
------------------------------------------------------------------------
[2005-12-03 01:57:59] [EMAIL PROTECTED]
# php t.php
... abc ...
... \{abc} ...
# php -v
PHP 5.1.2-dev (cli) (built: Dec 3 2005 01:35:55) (DEBUG)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies
------------------------------------------------------------------------
[2005-12-02 22:58:40] judas dot iscariote at gmail dot com
Description:
------------
seems to be related to Bug #35411
but now the "\" char is displayed.
'../configure' '--prefix=/usr' '--datadir=/usr/share/php5'
'--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib64'
'--includedir=/usr/include' '--with-libdir=lib64'
'--sysconfdir=/etc/php5/apache2'
'--with-config-file-path=/etc/php5/apache2'
'--with-config-file-scan-dir=/etc/php5/conf.d'
'--with-exec-dir=/usr/lib64/php5/bin' '--enable-magic-quotes'
'--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex'
'--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode'
'--enable-sigchild' '--disable-debug' '--enable-memory-limit'
'--enable-inline-optimization' '--enable-zend-multibyte'
'--with-apxs2=/usr/sbin/apxs2' '--disable-all'
Reproduce code:
---------------
Same as Bug #35411
Expected result:
----------------
php 5.0.5:
... abc ...
... {abc} ...
Actual result:
--------------
... abc ...
... \{abc} ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35527&edit=1