|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-01-31 13:47 UTC] derick@php.net
 | |||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 18:00:01 2025 UTC | 
Description: ------------ as we know, in C/C++, const string will be concat magically char *str = "FOO" "BAR"; but in php, we used dot '.' to concat, which is widely used as object.method() method.property in other languages, there isn't much symbols on our keyboard, this make php have to use $this->foo() $this->bar for objects many and many times we type "-" shift + ">" :( i suggest that php should be able to do: $hello = "hell" "o"; $hello = $hello " wo"; // same as $hello = $hello . " wo"; $hello .= "rld"; // still, and ever supported space between expressions means string-concat $query = "select abc" " from table" " where ..."; we don't have to: $query = "select abc" . " from table" . " where ..."; or: $query = "select abc" . " from table" . " where ..."; (hard to modify) or: $query = "select abc from table where ..."; (ugly) php is for web, web is text, text is string hope one day all code is written with out using dot concat (.) so we can deprecate it, and then disabled, and we can $phpers.smile(";)")