Advertisement
Guest User

Untitled

a guest
Jul 21st, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. // Default usage:
  2. $array = [ 1, 2, 3 ];
  3. $value = $array
  4. $> array_map($$, 'callback')
  5. $> array_filter();
  6.  
  7. // With objects:
  8. $object = new Clock;
  9. $object
  10. $> setHour(12)
  11. $> setMinute(40)
  12. $> setSeconds(25)
  13.  
  14. // It should run global callback($object) or $object->callback($object)?
  15. $> callback($$)
  16. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement