3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<10;$i++) { if($i = "4") { continue } else { echo $i."<br>"; } }

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.270.0130.06018.96
5.4.260.0130.07018.95
5.4.250.0170.05019.00
5.4.240.0130.06018.84
5.4.230.0030.05318.93
5.4.220.0170.06718.79
5.4.210.0200.06318.81
5.4.200.0070.05318.79
5.4.190.0130.07718.95
5.4.180.0130.07318.77
5.4.170.0130.05018.91
5.4.160.0100.07718.95
5.4.150.0170.05718.98
5.4.140.0070.05016.54
5.4.130.0130.06316.60
5.4.120.0100.07016.46
5.4.110.0170.06716.51
5.4.100.0030.05316.48
5.4.90.0100.04716.38
5.4.80.0100.05016.46
5.4.70.0070.06016.37
5.4.60.0070.05316.49
5.4.50.0100.06316.48
5.4.40.0070.07016.45
5.4.30.0070.06016.54
5.4.20.0170.06716.62
5.4.10.0200.05716.54
5.4.00.0100.05315.78
5.3.280.0130.06014.74
5.3.270.0070.07314.62
5.3.260.0070.05314.63
5.3.250.0000.06714.53
5.3.240.0170.06714.47
5.3.230.0170.04314.51
5.3.220.0100.05014.42
5.3.210.0030.05714.58
5.3.200.0130.06714.46
5.3.190.0170.06014.72
5.3.180.0130.07014.44
5.3.170.0000.05714.40
5.3.160.0230.06014.42
5.3.150.0070.05714.48
5.3.140.0100.06714.42
5.3.130.0070.07714.57
5.3.120.0070.08014.34
5.3.110.0130.05714.54
5.3.100.0200.06314.04
5.3.90.0130.05714.03
5.3.80.0070.05013.86
5.3.70.0100.05014.02
5.3.60.0070.06013.92
5.3.50.0070.05013.97
5.3.40.0030.06313.95
5.3.30.0100.06713.61
5.3.20.0070.05313.46
5.3.10.0100.04313.50
5.3.00.0170.04013.65
5.2.170.0030.05711.07
5.2.160.0070.04711.04
5.2.150.0100.04311.16
5.2.140.0070.04011.14
5.2.130.0070.05311.10
5.2.120.0130.03311.25
5.2.110.0100.04311.11
5.2.100.0070.05311.12
5.2.90.0100.04011.02
5.2.80.0070.04711.11
5.2.70.0070.05711.11
5.2.60.0100.05311.16
5.2.50.0030.04311.02
5.2.40.0000.06011.10
5.2.30.0070.04310.73
5.2.20.0000.04710.97
5.2.10.0100.03311.01
5.2.00.0000.05310.80
5.1.60.0030.0479.90
5.1.50.0030.0479.84
5.1.40.0100.0309.92
5.1.30.0070.03710.31
5.1.20.0070.03310.59
5.1.10.0170.03310.25
5.1.00.0030.0409.84
5.0.50.0030.0278.70
5.0.40.0070.0238.43
5.0.30.0030.0738.13
5.0.20.0070.0338.11
5.0.10.0000.0308.14
5.0.00.0070.0538.07
4.4.90.0000.0276.41
4.4.80.0030.0206.41
4.4.70.0030.0206.41
4.4.60.0030.0206.41
4.4.50.0000.0236.41
4.4.40.0000.0406.41
4.4.30.0030.0206.41
4.4.20.0070.0176.41
4.4.10.0070.0276.41
4.4.00.0130.0476.41
4.3.110.0000.0276.41
4.3.100.0130.0176.41
4.3.90.0030.0206.41
4.3.80.0030.0336.41
4.3.70.0030.0236.41
4.3.60.0030.0276.41
4.3.50.0030.0276.41
4.3.40.0000.0506.41
4.3.30.0030.0206.41
4.3.20.0030.0206.41
4.3.10.0000.0336.41
4.3.00.0030.0207.12

preferences:
147.79 ms | 1398 KiB | 7 Q