From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.2.3
PHP Bug Type:     Feature/Change Request
Bug description:  RFC: C-style string concatenation

Hi there,

I was wondering if it would be at all possible to get ANSI C / ISO
C99-style string literal concatenation added?

The PHP syntax already borrows so much from C that this seems to be a
worthy addition. It would also make it much easier for wrapping ugly SQL
for pretty source files.

String literal concatenation being:

$a =   "MY NAME IS "
"DAVE WILSON" /* some comment tokens
that get ignored */ "WAS HERE" // 2002
"2003";


Or, more useful:

"SELECT id,x,y,z FROM tbl " /* grab required cols */
"WHERE y = %d"  /* for our y coordinate. */
-- 
Edit bug report at http://bugs.php.net/?id=20516&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20516&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20516&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20516&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20516&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20516&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20516&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20516&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20516&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20516&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20516&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20516&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20516&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20516&r=isapi

Reply via email to