Created
April 22, 2018 20:37
-
-
Save dajve/82cbc6b6b68ca0468f1e179503a86150 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$in = 100; $out = 200; | |
$s = microtime(true); | |
for ($i=0; $i<1000000; $i++) { | |
echo $in,'<br>',$out; | |
} | |
$e = microtime(true); | |
echo PHP_EOL.PHP_EOL.sprintf("COMMA (1,000,000) : %s", number_format($e-$s, 6)).PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment