Skip to content
On this page

Expressions: String Operations

String Concatenation

String concatenation can be used to concatenate two strings using the . operator, followed by the string to concatenate to the left.

$foo = $bar . $baz;

Licensed under either of the MIT License or the Apache License (Version 2.0), at your option.