3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 1000; $start = microtime(true); while ($i--) uniqid(""); $elapsed = microtime(true) - $start; printf("less_entropy: %.3f\n", $elapsed * 1000); $i = 1000; $start = microtime(true); while ($i--) uniqid("", true); $elapsed = microtime(true) - $start; printf("more_entropy: %.3f\n", $elapsed * 1000);
Output for 7.1.0
less_entropy: 53.250 more_entropy: 0.330
Output for 7.0.14
less_entropy: 56.278 more_entropy: 0.890
Output for 7.0.6
less_entropy: 56.655 more_entropy: 0.928
Output for 7.0.5
less_entropy: 53.005 more_entropy: 0.422
Output for 7.0.4
less_entropy: 53.877 more_entropy: 0.521
Output for 7.0.3
less_entropy: 53.759 more_entropy: 0.380
Output for 7.0.2
less_entropy: 53.274 more_entropy: 0.412
Output for 7.0.1
less_entropy: 53.989 more_entropy: 0.513
Output for 7.0.0
less_entropy: 54.041 more_entropy: 0.573
Output for 5.6.28
less_entropy: 57.043 more_entropy: 1.057
Output for 5.6.21
less_entropy: 56.935 more_entropy: 0.785
Output for 5.6.20
less_entropy: 55.520 more_entropy: 1.152
Output for 5.6.19
less_entropy: 53.884 more_entropy: 0.447
Output for 5.6.18
less_entropy: 56.349 more_entropy: 0.635
Output for 5.6.17
less_entropy: 53.640 more_entropy: 0.512
Output for 5.6.16
less_entropy: 54.681 more_entropy: 1.197
Output for 5.6.15
less_entropy: 53.264 more_entropy: 0.509
Output for 5.6.14
less_entropy: 53.361 more_entropy: 0.845
Output for 5.6.13
less_entropy: 53.427 more_entropy: 0.648
Output for 5.6.12
less_entropy: 55.777 more_entropy: 0.642
Output for 5.6.11
less_entropy: 55.159 more_entropy: 0.756
Output for 5.6.10
less_entropy: 54.068 more_entropy: 0.478
Output for 5.6.9
less_entropy: 54.980 more_entropy: 0.719
Output for 5.6.8
less_entropy: 54.807 more_entropy: 0.854
Output for 5.5.35
less_entropy: 55.146 more_entropy: 0.911
Output for 5.5.34
less_entropy: 53.957 more_entropy: 0.715
Output for 5.5.33
less_entropy: 53.682 more_entropy: 0.473
Output for 5.5.32
less_entropy: 53.676 more_entropy: 0.563
Output for 5.5.31
less_entropy: 54.008 more_entropy: 0.588
Output for 5.5.30
less_entropy: 53.931 more_entropy: 0.527
Output for 5.5.29
less_entropy: 54.452 more_entropy: 0.569
Output for 5.5.28
less_entropy: 53.801 more_entropy: 0.713
Output for 5.5.27
less_entropy: 53.883 more_entropy: 0.575
Output for 5.5.26
less_entropy: 53.834 more_entropy: 0.793
Output for 5.5.25
less_entropy: 53.903 more_entropy: 0.650
Output for 5.5.24
less_entropy: 55.136 more_entropy: 0.724
Output for 5.4.45
less_entropy: 54.661 more_entropy: 0.746
Output for 5.4.44
less_entropy: 54.968 more_entropy: 0.961
Output for 5.4.43
less_entropy: 54.072 more_entropy: 0.695
Output for 5.4.42
less_entropy: 54.889 more_entropy: 0.856
Output for 5.4.41
less_entropy: 56.349 more_entropy: 1.159
Output for 5.4.40
less_entropy: 54.448 more_entropy: 0.752
Output for 5.4.39
less_entropy: 54.934 more_entropy: 0.966
Output for 5.4.38
less_entropy: 54.561 more_entropy: 0.663
Output for 5.4.37
less_entropy: 54.672 more_entropy: 0.710
Output for 5.4.36
less_entropy: 54.499 more_entropy: 0.742
Output for 5.4.35
less_entropy: 53.743 more_entropy: 0.477
Output for 5.4.34
less_entropy: 54.128 more_entropy: 0.453
Output for 5.4.32
less_entropy: 53.642 more_entropy: 0.470
Output for 5.4.31
less_entropy: 54.033 more_entropy: 0.574
Output for 5.4.30
less_entropy: 53.925 more_entropy: 0.495
Output for 5.4.29
less_entropy: 53.568 more_entropy: 0.798
Output for 5.4.28
less_entropy: 53.288 more_entropy: 0.453
Output for 5.4.27
less_entropy: 53.385 more_entropy: 0.470
Output for 5.4.26
less_entropy: 53.061 more_entropy: 0.457
Output for 5.4.25
less_entropy: 53.046 more_entropy: 0.455
Output for 5.4.24
less_entropy: 54.255 more_entropy: 0.475
Output for 5.4.23
less_entropy: 53.739 more_entropy: 0.436
Output for 5.4.22
less_entropy: 54.039 more_entropy: 0.612
Output for 5.4.21
less_entropy: 54.826 more_entropy: 0.782
Output for 5.4.20
less_entropy: 55.438 more_entropy: 0.836
Output for 5.4.19
less_entropy: 54.436 more_entropy: 0.578
Output for 5.4.18
less_entropy: 55.538 more_entropy: 0.761
Output for 5.4.17
less_entropy: 54.391 more_entropy: 0.645
Output for 5.4.16
less_entropy: 55.648 more_entropy: 0.931
Output for 5.4.15
less_entropy: 54.397 more_entropy: 0.687
Output for 5.4.14
less_entropy: 57.695 more_entropy: 0.988
Output for 5.4.13
less_entropy: 54.587 more_entropy: 0.924
Output for 5.4.12
less_entropy: 54.844 more_entropy: 1.172
Output for 5.4.11
less_entropy: 58.267 more_entropy: 0.868
Output for 5.4.10
less_entropy: 55.643 more_entropy: 0.693
Output for 5.4.9
less_entropy: 54.514 more_entropy: 0.687
Output for 5.4.8
less_entropy: 54.355 more_entropy: 0.583
Output for 5.4.7
less_entropy: 55.581 more_entropy: 0.718
Output for 5.4.6
less_entropy: 57.110 more_entropy: 0.636
Output for 5.4.5
less_entropy: 54.600 more_entropy: 0.778
Output for 5.4.4
less_entropy: 54.344 more_entropy: 0.905
Output for 5.4.3
less_entropy: 54.799 more_entropy: 0.825
Output for 5.4.2
less_entropy: 57.799 more_entropy: 0.945
Output for 5.4.1
less_entropy: 54.868 more_entropy: 0.834
Output for 5.4.0
less_entropy: 54.480 more_entropy: 0.632
Output for 5.3.29
less_entropy: 53.487 more_entropy: 0.548
Output for 5.3.28
less_entropy: 55.607 more_entropy: 0.596
Output for 5.3.27
less_entropy: 55.077 more_entropy: 0.889
Output for 5.3.26
less_entropy: 54.582 more_entropy: 0.642
Output for 5.3.25
less_entropy: 57.868 more_entropy: 0.783
Output for 5.3.24
less_entropy: 55.036 more_entropy: 1.075
Output for 5.3.23
less_entropy: 54.311 more_entropy: 0.689
Output for 5.3.22
less_entropy: 55.141 more_entropy: 0.821
Output for 5.3.21
less_entropy: 56.664 more_entropy: 1.330
Output for 5.3.20
less_entropy: 54.950 more_entropy: 0.909
Output for 5.3.19
less_entropy: 54.368 more_entropy: 0.780
Output for 5.3.18
less_entropy: 54.165 more_entropy: 0.553
Output for 5.3.17
less_entropy: 55.215 more_entropy: 0.838
Output for 5.3.16
less_entropy: 54.960 more_entropy: 0.947
Output for 5.3.15
less_entropy: 55.278 more_entropy: 0.958
Output for 5.3.14
less_entropy: 54.826 more_entropy: 0.848
Output for 5.3.13
less_entropy: 54.537 more_entropy: 0.694
Output for 5.3.12
less_entropy: 54.239 more_entropy: 0.492
Output for 5.3.11
less_entropy: 57.946 more_entropy: 0.885
Output for 5.3.10
less_entropy: 55.138 more_entropy: 0.880
Output for 5.3.9
less_entropy: 55.501 more_entropy: 1.022
Output for 5.3.8
less_entropy: 55.007 more_entropy: 0.909
Output for 5.3.7
less_entropy: 54.674 more_entropy: 0.782
Output for 5.3.6
less_entropy: 55.036 more_entropy: 0.887
Output for 5.3.5
less_entropy: 55.821 more_entropy: 0.929
Output for 5.3.4
less_entropy: 54.728 more_entropy: 0.557
Output for 5.3.3
less_entropy: 54.564 more_entropy: 0.842
Output for 5.3.2
less_entropy: 54.221 more_entropy: 0.635
Output for 5.3.1
less_entropy: 53.758 more_entropy: 0.581
Output for 5.3.0
less_entropy: 55.033 more_entropy: 0.887
Output for 5.2.17
less_entropy: 53.352 more_entropy: 0.493
Output for 5.2.16
less_entropy: 54.368 more_entropy: 0.717
Output for 5.2.15
less_entropy: 54.199 more_entropy: 0.715
Output for 5.2.14
less_entropy: 54.141 more_entropy: 0.694
Output for 5.2.13
less_entropy: 57.258 more_entropy: 1.223
Output for 5.2.12
less_entropy: 55.054 more_entropy: 0.737
Output for 5.2.11
less_entropy: 54.566 more_entropy: 0.761
Output for 5.2.10
less_entropy: 54.689 more_entropy: 0.665
Output for 5.2.9
less_entropy: 54.667 more_entropy: 0.810
Output for 5.2.8
less_entropy: 54.661 more_entropy: 0.770
Output for 5.2.7
less_entropy: 54.238 more_entropy: 0.666
Output for 5.2.6
less_entropy: 57.271 more_entropy: 1.063
Output for 5.2.5
less_entropy: 55.067 more_entropy: 0.895
Output for 5.2.4
less_entropy: 54.993 more_entropy: 0.775
Output for 5.2.3
less_entropy: 54.810 more_entropy: 0.846
Output for 5.2.2
less_entropy: 54.842 more_entropy: 0.885
Output for 5.2.1
less_entropy: 54.952 more_entropy: 0.948
Output for 5.2.0
less_entropy: 55.133 more_entropy: 0.682
Output for 5.1.6
less_entropy: 55.128 more_entropy: 0.723
Output for 5.1.5
less_entropy: 54.967 more_entropy: 0.706
Output for 5.1.4
less_entropy: 54.851 more_entropy: 0.691
Output for 5.1.3
less_entropy: 54.250 more_entropy: 0.531
Output for 5.1.2
less_entropy: 54.648 more_entropy: 0.645
Output for 5.1.1
less_entropy: 53.666 more_entropy: 0.391
Output for 5.1.0
less_entropy: 54.853 more_entropy: 0.663
Output for 5.0.5
less_entropy: 59.133 more_entropy: 0.847
Output for 5.0.4
less_entropy: 55.012 more_entropy: 0.951
Output for 5.0.3
less_entropy: 55.395 more_entropy: 0.788
Output for 5.0.2
less_entropy: 55.340 more_entropy: 0.643
Output for 5.0.1
less_entropy: 55.401 more_entropy: 0.805
Output for 5.0.0
less_entropy: 55.543 more_entropy: 0.843
Output for 4.4.9
less_entropy: 56.314 more_entropy: 1.382
Output for 4.4.8
less_entropy: 56.253 more_entropy: 0.977
Output for 4.4.7
less_entropy: 56.242 more_entropy: 1.283
Output for 4.4.6
less_entropy: 56.004 more_entropy: 1.337
Output for 4.4.5
less_entropy: 54.947 more_entropy: 1.032
Output for 4.4.4
less_entropy: 55.566 more_entropy: 1.199
Output for 4.4.3
less_entropy: 55.761 more_entropy: 1.188
Output for 4.4.2
less_entropy: 54.764 more_entropy: 1.102
Output for 4.4.1
less_entropy: 60.874 more_entropy: 1.298
Output for 4.4.0
less_entropy: 55.536 more_entropy: 0.844
Output for 4.3.11
less_entropy: 55.843 more_entropy: 1.212
Output for 4.3.10
less_entropy: 56.386 more_entropy: 1.483
Output for 4.3.9
less_entropy: 54.574 more_entropy: 0.672
Output for 4.3.8
less_entropy: 59.557 more_entropy: 1.283
Output for 4.3.7
less_entropy: 55.328 more_entropy: 0.951
Output for 4.3.6
less_entropy: 55.936 more_entropy: 1.185
Output for 4.3.5
less_entropy: 55.830 more_entropy: 1.215
Output for 4.3.4
less_entropy: 54.941 more_entropy: 0.941
Output for 4.3.3
less_entropy: -944.008 more_entropy: 1.278
Output for 4.3.2
less_entropy: 54.577 more_entropy: 1.045
Output for 4.3.1
less_entropy: 56.305 more_entropy: 1.338
Output for 4.3.0
less_entropy: 55.740 more_entropy: 1.181