aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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