Skip to content

Commit d1b0607

Browse files
authored
Update readme with non redundant example (concat) (#111)
1 parent 3e6700d commit d1b0607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Default functions:
8585

8686
Add custom function to executor:
8787
```php
88-
$executor->addFunction('abs', function($arg) {return abs($arg);});
88+
$executor->addFunction('concat', function($arg1, $arg2) {return $arg1 . $arg2;});
8989
```
9090
Optional parameters:
9191
```php

0 commit comments

Comments
 (0)