I read in the FAQ thread that string concatenation in PHP (the dot . ) is expensive. I was just wondering HOW expensive it is. I know that in Java, the String object is immutable, so concatenating Strings using the + operator will cause Strings to be first copied and then glued together. Is that the way PHP works?







Bookmarks