ID: 20516 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Won\'t fix Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.3 New Comment:
http://cvs.php.net/co.php/Zend/zend_language_parser.y?login=2&r=1.23 and http://cvs.php.net/co.php/Zend/zend_language_scanner.l?login=2&r=1.60 but dont count on it getting this included. Derick Previous Comments: ------------------------------------------------------------------------ [2002-11-20 08:02:52] [EMAIL PROTECTED] Conformity, ease of porting, the usual reasons why a change might be made. IMHO, the dot operator is ugly and I hate using it, simply because of the colour it appears as in vim :). If no-one wants to hack this in, can I be pointed toward the correct place in the source so I may? Thanks. ------------------------------------------------------------------------ [2002-11-20 07:38:50] [EMAIL PROTECTED] Why do you want that? PHP really doesn't need that, since we have the dot as string concatenation operator. What's wrong with it? "FOO" . /* weird comment if you like that */ "BAR" ------------------------------------------------------------------------ [2002-11-20 07:30:13] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=20516&edit=1
