aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2022-05-21 20:38:58 +0300
committerGitHub <noreply@github.com>2022-05-21 20:38:58 +0300
commitd1b060749e58a09bc437f85152d54e40c163efb0 (patch)
tree3ef480e0b7f8531116ea0542c4e50f7fd6492af7 /README.md
parent3e6700d1576c6582169a5d50c95da106ee3017cf (diff)
Update readme with non redundant example (concat) (#111)v2.2.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 78e37dc..34b59c4 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ Default functions:
Add custom function to executor:
```php
-$executor->addFunction('abs', function($arg) {return abs($arg);});
+$executor->addFunction('concat', function($arg1, $arg2) {return $arg1 . $arg2;});
```
Optional parameters:
```php