diff options
author | Bruce Wells <brucekwells@gmail.com> | 2022-05-21 20:38:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-21 20:38:58 +0300 |
commit | d1b060749e58a09bc437f85152d54e40c163efb0 (patch) | |
tree | 3ef480e0b7f8531116ea0542c4e50f7fd6492af7 /README.md | |
parent | 3e6700d1576c6582169a5d50c95da106ee3017cf (diff) |
Update readme with non redundant example (concat) (#111)v2.2.1
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |