Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function nop() {}
- $nop = function() {};
- $start = microtime(true);
- for($i=0; $i<1000000; $i++)
- nop();
- echo (microtime(true) - $start) . "\n";
- $start = microtime(true);
- for($i=0; $i<1000000; $i++)
- $nop();
- echo (microtime(true) - $start) . "\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement