Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×

dispatchMethod

View Paste
  1. <?php
  2. $tests = 1000000;
  3.  
  4. // Set up data
  5. /*
  6. Rearranged with faster first to prevent cold cach...
Test Script for timing of call_user_func_array vs. Object::dispatchMethod