Edit report at http://bugs.php.net/bug.php?id=53646&edit=1
ID: 53646 Updated by: ras...@php.net Reported by: phil dot allen at internode dot on dot net Summary: Brackets being replaced with hash -Status: Open +Status: Bogus Type: Bug Package: Strings related Operating System: Win x64 PHP Version: 5.3.4 Block user comment: N Private report: N New Comment: There is no chance this is PHP doing that. You must have something else going on here. Previous Comments: ------------------------------------------------------------------------ [2011-01-04 07:41:55] phil dot allen at internode dot on dot net 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 this bug report at http://bugs.php.net/bug.php?id=53646&edit=1