Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
Fix bug #729 (broken example code)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunt committed Jul 28, 2017
1 parent 634fc6d commit ea16234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CallAnyFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ public function __toString(){
/* here's us calling a closure in a thread of it's own */
$future = Caller::call(function(...$params) {
printf("and how about this: %s, %s %s %s %s!\n", ...$params);
}, [["also", "you", "can", "use", "closures"]]);
}, "also", "you", "can", "use", "closures");
?>

0 comments on commit ea16234

Please sign in to comment.