ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #35527 [Opn->Bgs]: brace escape problem ( continues? )
by iliaa other posts by this author
Dec 4 2005 1:05PM messages near this date
[PHP-DOC] #35555 [Opn->Fbk]: [chm] bug on function.stream-context-create.html | [PHP-DOC] 1
ID:               35527
 Updated by:       iliaa@[...].net
 Reported By:      judas dot iscariote at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: Linux
 PHP Version:      5CVS-2005-12-02 (CVS)
 Assigned To:      iliaa
 New Comment:

This fixes a consistency bug found in older releases.


Previous Comments:
------------------------------------------------------------------------

[2005-12-03 02:49:07] judas dot iscariote at gmail dot com

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

------------------------------------------------------------------------

[2005-12-03 02:03:31] iliaa@[...].net

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] sniper@[...].net

# 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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved