Guest User

Untitled

a guest
Dec 16th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $a = null;
  2. $b = null;
  3. $c = null;
  4. $i = null;
  5. $max = 1000000000;
  6. $start = microtime(true);
  7. for ($i = 0; $i < $max; $i++) {
  8. $a = 1234 + 5678 + $i;
  9. $b = 1234 * 5678 + $i;
  10. $c = 1234 / 2 + $i;
  11. }
  12. var_dump(microtime(true) - $start);
Add Comment
Please, Sign In to add comment