summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorMalcolm Fell <malcolm@vendhq.com>2013-06-28 08:48:53 +1200
committerMalcolm Fell <malcolm@vendhq.com>2013-06-28 08:48:53 +1200
commit124273ffbe9ac370b99ca7fecd24d2656552ca9a (patch)
treec48b088b2c0dd93892689dfbe1ac601ba1ee75c6 /php.html.markdown
parent0ab2ec2d737dab34f5c962b53e49f96b74b829da (diff)
Correct form of string concatenation.
Diffstat (limited to 'php.html.markdown')
-rw-r--r--php.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.html.markdown b/php.html.markdown
index 4dafe6ad..ce96b457 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -74,7 +74,7 @@ $sgl_quotes
END; // Nowdoc syntax is available in PHP 5.3.0
// Manipulation
-$concatenated = $sgl_quotes + $dbl_quotes;
+$concatenated = $sgl_quotes . $dbl_quotes;
```
### Compound