3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Sample Testing String"; $start = array_sum( explode( ' ', microtime( ) ) ); for( $a = 10000000; $a ; --$a ) { md5( $str ); } $end = array_sum( explode(' ', microtime()) );echo $end - $start; die;
based on UIV4S
Output for 7.1.0
1.894467830658
Output for 5.3.9 - 5.4.4, 5.4.7 - 5.4.8, 5.4.13 - 5.4.15, 5.4.17, 5.4.19, 5.4.21 - 5.4.25, 5.4.29, 5.4.34, 5.4.39 - 5.4.41, 5.4.45 - 5.5.24, 5.5.26, 5.5.29 - 5.5.31, 5.5.33, 5.6.7 - 5.6.8, 5.6.10 - 5.6.13, 5.6.15 - 5.6.17, 5.6.20 - 5.6.21, 7.0.14

Process exited with code 137.
Output for 7.0.6
2.055496931076
Output for 7.0.5
2.0574998855591
Output for 7.0.4
2.0760219097137
Output for 7.0.3
2.315437078476
Output for 7.0.2
2.0547800064087
Output for 7.0.1
1.9700770378113
Output for 7.0.0
2.0035629272461
Output for 5.6.28
2.3375461101532
Output for 5.6.19
2.4178330898285
Output for 5.6.18
2.3933551311493
Output for 5.6.14
2.4299352169037
Output for 5.6.9
2.3585679531097
Output for 5.5.35
2.2462389469147
Output for 5.5.34
2.4256098270416
Output for 5.5.32
2.4378581047058
Process exited with code 137.
Output for 5.5.28
2.4366569519043
Output for 5.5.27
2.4156339168549
Output for 5.5.25
2.4281630516052
Output for 5.4.44
2.3973259925842
Output for 5.4.43
2.3863258361816
Output for 5.4.42
2.3844790458679
Output for 5.4.38
2.3638129234314
Output for 5.4.37
2.3892028331757
Output for 5.4.36
2.3671989440918
Output for 5.4.35
2.3437929153442
Output for 5.4.32
2.3784232139587
Output for 5.4.31
2.376177072525
Output for 5.4.30
2.3815670013428
Output for 5.4.28
2.3761599063873
Output for 5.4.27
2.3743410110474
Output for 5.4.26
2.3971409797668
Output for 5.4.20
2.3955111503601
Output for 5.4.18
2.3822720050812
Output for 5.4.16
2.4099349975586
Output for 5.4.12
2.3806841373444
Output for 5.4.11
2.4049551486969
Output for 5.4.10
2.376030921936
Output for 5.4.9
2.4099290370941
Output for 5.4.6
2.3858108520508
Output for 5.4.5
2.3578329086304