Update readme with non redundant example (concat) (#111)

This commit is contained in:
Bruce Wells 2022-05-21 13:38:58 -04:00 committed by GitHub
parent 3e6700d157
commit d1b060749e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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