Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Example:
- // instead of calling array_walk you would do something like the following
- $arr = array(1,2,3);
- p($arr)->each(function ($x) { echo $x . '<br />';});
- MyArray(1,2,3)->each(...);
- //or
- MyArray($some_real_array)->each(...);
Add Comment
Please, Sign In to add comment