Skip to content

Commit

Permalink
Update readme with non redundant example (concat) (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfui authored May 21, 2022
1 parent 3e6700d commit d1b0607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1b0607

Please sign in to comment.