3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $range = range(1,100000); $start_time = microtime(); array_shift($range); $end_time = microtime(); echo "array_shift:" . $end_time - $start_time; echo "\n\n"; $start_time = microtime(); count($range); $end_time = microtime(); echo "count: " . $end_time - $start_time;
Output for 7.1.0
Warning: A non-numeric value encountered in /in/ZrUHO on line 11 Notice: A non well formed numeric value encountered in /in/ZrUHO on line 11 -0.004265 Warning: A non-numeric value encountered in /in/ZrUHO on line 21 Notice: A non well formed numeric value encountered in /in/ZrUHO on line 21 -0.00455
Output for 7.0.14
-0.004824 -0.005294
Output for 7.0.12
-0.004906 -0.005416
Output for 7.0.6
-0.451603 -0.452035
Output for 7.0.5
-0.109684 -0.109942
Output for 7.0.4
-0.410705 -0.411122
Output for 7.0.3
-0.418795 -0.419182
Output for 7.0.2
-0.861977 -0.862436
Output for 7.0.1
-0.661468 -0.661854
Output for 7.0.0
-0.252914 -0.253212
Output for hhvm-3.12.0
-0.709607 -0.709729
Output for hhvm-3.10.0
-0.381463 -0.381599
Output for 5.6.28
-0.018805 -0.020732
Output for 5.6.21
-0.979096 -0.980992
Output for 5.6.20
-0.702317 -0.704357
Output for 5.6.19
-0.8566 -0.858715
Output for 5.6.18
-0.604319 -0.60605
Output for 5.6.17
-0.014297 -0.016178
Output for 5.6.16
-0.794873 -0.796628
Output for 5.6.15
-0.506051 -0.508239
Output for 5.6.14
-0.416286 -0.418055
Output for 5.6.13
-0.078269 -0.079806
Output for 5.6.12
-0.395957 -0.397975
Output for 5.6.11
-0.816903 -0.818318
Output for 5.6.10
-0.308869 -0.31054
Output for 5.6.9
-0.543696 -0.545452
Output for 5.6.8
-0.16492 -0.166799
Output for 5.5.35
-0.918367 -0.920595
Output for 5.5.34
-0.060395 -0.063129
Output for 5.5.33
-0.207623 -0.211425
Output for 5.5.32
-0.248419 -0.251802
Output for 5.5.31
-0.038105 -0.040664
Output for 5.5.30
-0.136441 -0.13933
Output for 5.5.29
-0.859475 -0.862538
Output for 5.5.28
-0.655124 -0.659135
Output for 5.5.27
-0.48777 -0.491389
Output for 5.5.26
-0.056651 -0.059966
Output for 5.5.25
-0.492432 -0.494809
Output for 5.5.24
-0.198841 -0.202528
Output for 5.4.45
-0.258584 -0.261745
Output for 5.4.44
-0.464456 -0.467697
Output for 5.4.43
-0.878554 -0.881346
Output for 5.4.42
-0.649422 -0.652291
Output for 5.4.41
-0.044486 -0.047724
Output for 5.4.40
-0.264614 -0.267998
Output for 5.4.39
-0.962534 -0.965682
Output for 5.4.38
-0.308941 -0.311763
Output for 5.4.37
-0.310681 -0.313572
Output for 5.4.36
-0.518157 -0.521484
Output for 5.4.35
-0.165355 -0.168558
Output for 5.4.34
-0.933265 -0.936033
Output for 5.4.32
-0.873193 -0.876517
Output for 5.4.31
-0.289699 -0.293268
Output for 5.4.30
-0.004859 -0.008697
Output for 5.4.29
-0.192446 -0.195442
Output for 5.4.28
-0.614974 -0.618305
Output for 5.4.27
-0.998637 -0.002276
Output for 5.4.26
-0.415763 -0.419262
Output for 5.4.25
-0.83519 -0.838119
Output for 5.4.24
-0.536128 -0.539535
Output for 5.4.23
-0.698525 -0.701251
Output for 5.4.22
-0.503583 -0.506951
Output for 5.4.21
-0.719549 -0.723183
Output for 5.4.20
-0.150748 -0.154347
Output for 5.4.19
-0.736277 -0.740022
Output for 5.4.18
-0.206901 -0.210388
Output for 5.4.17
-0.780396 -0.783915
Output for 5.4.16
-0.192431 -0.195948
Output for 5.4.15
-0.594254 -0.597518
Output for 5.4.14
-0.999127 -0.002589
Output for 5.4.13
-0.405176 -0.408312
Output for 5.4.12
-0.77575 -0.778464
Output for 5.4.11
-0.362903 -0.366368
Output for 5.4.10
-0.711077 -0.713731
Output for 5.4.9
-0.883389 -0.886377
Output for 5.4.8
-0.489912 -0.492984
Output for 5.4.7
-0.830629 -0.833294
Output for 5.4.6
-0.025735 -0.029578
Output for 5.4.5
-0.537596 -0.540386
Output for 5.4.4
-0.881966 -0.884716
Output for 5.4.3
-0.078448 -0.081779
Output for 5.4.2
-0.681746 -0.685417
Output for 5.4.1
-0.060638 -0.064143
Output for 5.4.0
-0.265756 -0.26938
Output for 5.3.29
-0.080068 -0.083466
Output for 5.3.28
-0.083061 -0.0863
Output for 5.3.27
-0.572922 -0.576455
Output for 5.3.26
-0.391119 -0.394496
Output for 5.3.25
-0.791235 -0.794713
Output for 5.3.24
-0.1747 -0.177596
Output for 5.3.23
-0.617078 -0.620695
Output for 5.3.22
-0.977719 -0.981164
Output for 5.3.21
-0.174741 -0.177844
Output for 5.3.20
-0.554115 -0.557453
Output for 5.3.19
-0.126881 -0.13056
Output for 5.3.18
-0.304613 -0.307619
Output for 5.3.17
-0.676259 -0.679375
Output for 5.3.16
-0.183324 -0.185976
Output for 5.3.15
-0.373527 -0.377159
Output for 5.3.14
-0.721555 -0.724671
Output for 5.3.13
-0.282146 -0.285621
Output for 5.3.12
-0.484442 -0.487894
Output for 5.3.11
-0.882119 -0.885667
Output for 5.3.10
-0.458338 -0.461489
Output for 5.3.9
-0.688566 -0.692057
Output for 5.3.8
-0.843457 -0.846126
Output for 5.3.7
-0.032551 -0.035191
Output for 5.3.6
-0.187256 -0.189918
Output for 5.3.5
-0.345179 -0.347845
Output for 5.3.4
-0.924876 -0.928229
Output for 5.3.3
-0.355814 -0.359039
Output for 5.3.2
-0.673622 -0.676295
Output for 5.3.1
-0.178275 -0.180921
Output for 5.3.0
-0.51736 -0.520988
Output for 5.2.17
-0.530111 -0.533469
Output for 5.2.16
-0.722558 -0.725875
Output for 5.2.15
-0.162399 -0.165866
Output for 5.2.14
-0.510615 -0.51306
Output for 5.2.13
-0.860717 -0.86429
Output for 5.2.12
-0.020295 -0.02284
Output for 5.2.11
-0.341805 -0.344405
Output for 5.2.10
-0.695283 -0.697998
Output for 5.2.9
-0.886501 -0.88984
Output for 5.2.8
-0.081627 -0.085058
Output for 5.2.7
-0.272142 -0.27571
Output for 5.2.6
-0.684186 -0.687538
Output for 5.2.5
-0.007612 -0.010114
Output for 5.2.4
-0.161493 -0.164087
Output for 5.2.3
-0.33198 -0.33469
Output for 5.2.2
-0.482779 -0.485336
Output for 5.2.1
-0.126567 -0.129402
Output for 5.2.0
-0.308737 -0.312192
Output for 5.1.6
-0.491732 -0.497303
Output for 5.1.5
-0.933956 -0.939624
Output for 5.1.4
-0.275589 -0.280963
Output for 5.1.3
-0.468095 -0.473484
Output for 5.1.2
-0.655879 -0.661331
Output for 5.1.1
-0.001428 -0.007044
Output for 5.1.0
-0.179039 -0.184349
Output for 5.0.5
-0.530529 -0.535461
Output for 5.0.4
-0.861895 -0.867635
Output for 5.0.3
-0.207977 -0.213302
Output for 5.0.2
-0.586575 -0.591388
Output for 5.0.1
-0.908192 -0.913419
Output for 5.0.0
-0.087921 -0.093277
Output for 4.4.9
-0.490012 -0.4966
Output for 4.4.8
-0.845474 -0.851764
Output for 4.4.7
-0.634161 -0.639861
Output for 4.4.6
-0.784878 -0.791956
Output for 4.4.5
-0.951356 -0.957164
Output for 4.4.4
-0.733283 -0.73905
Output for 4.4.3
-0.095825 -0.101735
Output for 4.4.2
-0.815479 -0.821747
Output for 4.4.1
-0.381685 -0.386981
Output for 4.4.0
-0.686789 -0.692145
Output for 4.3.11
-0.01953 -0.025273
Output for 4.3.10
-0.41711 -0.422931
Output for 4.3.9
-0.75344 -0.759312
Output for 4.3.8
-0.234004 -0.238724
Output for 4.3.7
-0.370001 -0.375108
Output for 4.3.6
-0.511561 -0.51657
Output for 4.3.5
-0.664572 -0.669995
Output for 4.3.4
-0.878894 -0.884651
Output for 4.3.3
-0.024032 -0.029328
Output for 4.3.2
-0.186328 -0.192124
Output for 4.3.1
-0.332331 -0.337783
Output for 4.3.0
-0.491614 -0.497632