3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = 0; while($ip <= 255){ $ip++; hash = md5($ip); } echo $hash ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0170.06018.97
5.4.250.0100.05718.80
5.4.240.0070.05318.89
5.4.230.0030.06319.06
5.4.220.0070.07718.73
5.4.210.0200.06018.73
5.4.200.0070.06018.93
5.4.190.0070.05719.06
5.4.180.0130.05018.84
5.4.170.0100.05718.79
5.4.160.0200.05318.89
5.4.150.0170.05318.83
5.4.140.0100.05316.55
5.4.130.0200.04016.58
5.4.120.0100.07016.36
5.4.110.0100.05316.60
5.4.100.0130.06316.35
5.4.90.0070.05316.43
5.4.80.0100.05316.25
5.4.70.0070.07016.47
5.4.60.0100.07316.32
5.4.50.0170.05016.60
5.4.40.0170.04316.37
5.4.30.0130.05316.53
5.4.20.0130.06316.38
5.4.10.0170.05316.55
5.4.00.0230.04015.87
5.3.280.0070.05314.60
5.3.270.0070.05714.49
5.3.260.0070.06014.61
5.3.250.0070.06714.49
5.3.240.0100.06714.30
5.3.230.0200.06314.44
5.3.220.0100.06014.58
5.3.210.0070.08014.59
5.3.200.0030.05714.57
5.3.190.0130.06014.57
5.3.180.0130.07314.61
5.3.170.0130.07714.66
5.3.160.0100.05714.57
5.3.150.0000.07014.26
5.3.140.0130.05014.41
5.3.130.0030.06314.32
5.3.120.0130.05314.59
5.3.110.0170.07014.39
5.3.100.0070.05714.05
5.3.90.0030.05313.86
5.3.80.0030.07313.97
5.3.70.0030.05313.94
5.3.60.0200.03714.06
5.3.50.0100.04713.65
5.3.40.0200.05013.96
5.3.30.0070.05014.00
5.3.20.0100.05013.76
5.3.10.0030.05313.80
5.3.00.0070.05313.79
5.2.170.0100.04311.06
5.2.160.0070.04011.10
5.2.150.0130.05311.03
5.2.140.0030.04711.04
5.2.130.0100.03711.10
5.2.120.0100.04311.11
5.2.110.0170.03010.93
5.2.100.0070.04710.86
5.2.90.0070.04311.12
5.2.80.0030.06310.92
5.2.70.0130.03711.10
5.2.60.0070.04010.96
5.2.50.0130.03311.03
5.2.40.0100.04310.89
5.2.30.0100.04010.99
5.2.20.0000.05310.97
5.2.10.0100.03710.86
5.2.00.0030.06010.60
5.1.60.0000.0409.90
5.1.50.0100.0409.93
5.1.40.0030.03710.04
5.1.30.0070.04010.22
5.1.20.0100.03010.51
5.1.10.0070.03310.30
5.1.00.0130.03310.11
5.0.50.0130.0308.55
5.0.40.0070.0308.44
5.0.30.0000.0478.24
5.0.20.0030.0278.26
5.0.10.0000.0408.13
5.0.00.0070.0408.34
4.4.90.0100.0177.01
4.4.80.0100.0177.02
4.4.70.0070.0207.02
4.4.60.0000.0237.02
4.4.50.0030.0207.02
4.4.40.0030.0377.02
4.4.30.0070.0177.02
4.4.20.0000.0237.02
4.4.10.0070.0177.02
4.4.00.0030.0337.02
4.3.110.0000.0307.02
4.3.100.0030.0207.02
4.3.90.0070.0277.02
4.3.80.0070.0437.02
4.3.70.0000.0237.02
4.3.60.0030.0207.02
4.3.50.0030.0207.02
4.3.40.0070.0307.02
4.3.30.0000.0237.02
4.3.20.0030.0207.02
4.3.10.0070.0407.02
4.3.00.0030.0237.33

preferences:
140.58 ms | 1394 KiB | 7 Q