3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 100; $i >= 0; $i--) { echo $i\n; }

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.6.80.0000.07320.53
5.5.240.0030.03320.18
5.4.400.0330.05718.50
5.4.390.0270.06018.59
5.4.380.0300.06318.57
5.4.370.0430.06718.53
5.4.360.0430.06718.62
5.4.350.0370.07718.74
5.4.340.0170.07318.84
5.4.320.0200.08018.52
5.4.310.0500.06018.78
5.4.300.0470.06018.77
5.4.290.0530.05718.46
5.4.280.0400.05318.60
5.4.270.3770.06718.62
5.4.260.0300.06718.71
5.4.250.0430.05718.80
5.4.240.0430.06018.74
5.4.230.0370.05318.77
5.4.220.0330.05718.74
5.4.210.0230.07018.45
5.4.200.0230.05716.67
5.4.190.0270.06018.79
5.4.180.0530.06718.73
5.4.170.0300.07318.79
5.4.160.0200.06018.73
5.4.150.0400.05718.44
5.4.140.0330.05316.35
5.4.130.0330.05016.31
5.4.120.0300.06016.42
5.4.110.0670.05316.18
5.4.100.0200.05016.23
5.4.90.0370.05016.25
5.4.80.0470.05316.42
5.4.70.0330.05716.26
5.4.60.0400.05016.14
5.4.50.0400.06016.25
5.4.40.0300.06316.29
5.4.30.0230.07016.18
5.4.20.0470.05016.13
5.4.10.0400.07316.21
5.4.00.0330.08015.77
5.3.290.0370.08314.74
5.3.280.0470.05714.59
5.3.270.0400.09014.57
5.3.260.0830.07314.52
5.3.250.1300.06314.70
5.3.240.0330.06014.70
5.3.230.0130.08014.59
5.3.220.0430.07314.60
5.3.210.0400.07014.53
5.3.200.0400.07014.48
5.3.190.0630.05314.48
5.3.180.0530.06314.53
5.3.170.0500.06014.51
5.3.160.0500.06014.66
5.3.150.0430.06714.47
5.3.140.0470.06714.61
5.3.130.0470.07714.48
5.3.120.0270.08314.56
5.3.110.0370.06714.50
5.3.100.0470.06313.93
5.3.90.0400.06313.92
5.3.80.0270.07314.11
5.3.70.0470.06013.93
5.3.60.0400.06713.88
5.3.50.0370.07013.86
5.3.40.0300.07013.88
5.3.30.0370.06713.89
5.3.20.0500.05713.66
5.3.10.0530.05313.55
5.3.00.0370.05713.73
5.2.170.0270.04311.06
5.2.160.0170.04711.30
5.2.150.0530.04711.11
5.2.140.0230.05711.07
5.2.130.0630.05711.03
5.2.120.0430.05311.05
5.2.110.0370.05011.23
5.2.100.0430.05011.13
5.2.90.0470.04011.09
5.2.80.0370.03711.05
5.2.70.0400.05711.13
5.2.60.0330.06011.03
5.2.50.0400.06311.17
5.2.40.0230.05010.98
5.2.30.0070.05711.00
5.2.20.0330.04710.95
5.2.10.0200.04310.87
5.2.00.0170.05310.69
5.1.60.0300.0439.95
5.1.50.0170.03310.04
5.1.40.0300.03710.11
5.1.30.0130.05010.39
5.1.20.0230.05010.33
5.1.10.0430.03710.13
5.1.00.0370.04010.13
5.0.50.0300.0308.56
5.0.40.0200.0238.46
5.0.30.1570.0508.24
5.0.20.0170.0278.38
5.0.10.0130.0338.20
5.0.00.0170.0508.22
4.4.90.0130.0205.97
4.4.80.1730.0305.94
4.4.70.0170.0235.86
4.4.60.0130.0305.86
4.4.50.0100.0335.88
4.4.40.0200.0405.91
4.4.30.0200.0235.87
4.4.20.0100.0335.88
4.4.10.0100.0305.94
4.4.00.0170.0305.90
4.3.110.0170.0335.79
4.3.100.0170.0305.85
4.3.90.0230.0235.79
4.3.80.0200.0405.80
4.3.70.0200.0175.89
4.3.60.0130.0275.81
4.3.50.0170.0175.82
4.3.40.0170.0435.75
4.3.30.0030.0304.55
4.3.20.0030.0304.56
4.3.10.0070.0234.52
4.3.00.0000.0236.87

preferences:
143.06 ms | 1394 KiB | 7 Q