Bug #53646 [NEW]: Brackets being replaced with hash
From:
Operating system: Win x64
PHP version: 5.3.4
Package: Strings related
Bug Type: Bug
Bug description:Brackets being replaced with hash
Description:
------------
When concatenating two strings, brackets are being replaced by hashes (#).
Test script:
---------------
$data1 = '\'2011-1-1';
$data2 = '\' AS DATE)|CAST(';
echo $data1 . $data2;
Expected result:
----------------
'2011-1-1' AS DATE)|CAST(
Actual result:
--------------
'2011-1-1' AS DATE#|CAST#
--
Edit bug report at http://bugs.php.net/bug.php?id=53646&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53646&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53646&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53646&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53646&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53646&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53646&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53646&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53646&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53646&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53646&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53646&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53646&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53646&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53646&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53646&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53646&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53646&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53646&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53646&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53646&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53646&r=mysqlcfg
Thread (4 messages)
- phil dot allen at internode dot on dot net