Add string concatenation (#3)

This commit is contained in:
bzick
2013-08-03 18:56:17 +04:00
parent 1e7cf29290
commit 09f952686b
4 changed files with 113 additions and 78 deletions

View File

@@ -81,6 +81,10 @@ Operators
* `--$a` - decrement the variable and use it
* `$a--` - use the variable and decrement it
### String operator
* `$a ~ $b` - return concatenation of variables `$a` and `$b`
### Ternary operator
* `$a ? $b : $c` - returns `$b` if `$a` is not empty, and `$c` otherwise