3v4l.org

run code in 300+ PHP versions simultaneously
<?php for (range(1, 1000) as $number) { echo $number; }

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.0170.07320.40
5.5.240.0330.07720.25
5.4.400.0430.05018.89
5.4.390.0330.08718.79
5.4.380.0400.08018.69
5.4.370.0500.05718.61
5.4.360.0400.05718.80
5.4.350.0330.07318.70
5.4.340.0470.06718.80
5.4.320.0470.08018.76
5.4.310.0470.07018.78
5.4.300.0530.06718.61
5.4.290.0470.07318.83
5.4.280.0670.06718.57
5.4.270.0470.06718.49
5.4.260.0800.06018.68
5.4.250.0200.07318.73
5.4.240.0500.06718.62
5.4.230.0470.06018.50
5.4.220.0330.08018.67
5.4.210.1800.07718.57
5.4.200.1630.05016.57
5.4.190.0330.08018.57
5.4.180.0530.06018.61
5.4.170.5670.07718.79
5.4.160.0370.07718.69
5.4.150.0370.07318.73
5.4.140.0230.06316.26
5.4.130.0500.05016.44
5.4.120.0500.07016.29
5.4.110.0500.06016.27
5.4.100.0330.06716.31
5.4.90.0500.06016.42
5.4.80.0330.05716.41
5.4.70.0230.06016.40
5.4.60.0130.07016.39
5.4.50.0500.07316.39
5.4.40.0300.06316.38
5.4.30.0470.06016.28
5.4.20.0400.05716.39
5.4.10.0600.05016.25
5.4.00.0900.07015.88
5.3.290.0530.06014.66
5.3.280.0630.05714.57
5.3.270.0370.07714.63
5.3.260.0330.08314.53
5.3.250.0370.06314.65
5.3.240.0430.05714.63
5.3.230.0330.05014.70
5.3.220.0670.06714.55
5.3.210.0400.06014.56
5.3.200.0400.07314.64
5.3.190.0430.07014.54
5.3.180.0500.05314.56
5.3.170.0500.05314.61
5.3.160.0370.06714.49
5.3.150.0570.05714.55
5.3.140.0470.05714.61
5.3.130.0370.05314.66
5.3.120.0430.06714.50
5.3.110.0500.05714.59
5.3.100.0400.05314.03
5.3.90.0200.06714.09
5.3.80.0400.06313.97
5.3.70.0300.05714.10
5.3.60.0230.06313.91
5.3.50.0300.06013.93
5.3.40.0070.09014.01
5.3.30.0270.08013.87
5.3.20.0430.05013.61
5.3.10.0570.04713.75
5.3.00.0330.05013.71
5.2.170.0300.04711.09
5.2.160.0370.04011.05
5.2.150.0530.05711.13
5.2.140.0230.04711.20
5.2.130.0300.04311.02
5.2.120.0330.05311.09
5.2.110.0800.05011.04
5.2.100.0300.04311.09
5.2.90.0530.03711.07
5.2.80.0370.05311.13
5.2.70.0230.04711.05
5.2.60.0430.04311.20
5.2.50.0500.05010.93
5.2.40.1170.04311.03
5.2.30.0200.05010.92
5.2.20.0200.05711.09
5.2.10.0200.04710.91
5.2.00.0270.04010.68
5.1.60.0330.0409.93
5.1.50.0370.0339.96
5.1.40.0230.04310.02
5.1.30.1800.04710.48
5.1.20.0130.05310.37
5.1.10.0230.04310.13
5.1.00.0300.05710.18
5.0.50.0200.0308.56
5.0.40.0200.0408.42
5.0.30.0130.0538.35
5.0.20.0170.0208.19
5.0.10.0200.0378.25
5.0.00.0200.0478.27
4.4.90.0100.0275.88
4.4.80.0170.0135.90
4.4.70.0130.0275.84
4.4.60.0100.0305.83
4.4.50.0130.0335.93
4.4.40.0100.0475.88
4.4.30.0130.0305.86
4.4.20.0170.0275.96
4.4.10.0100.0305.98
4.4.00.0070.0505.93
4.3.110.0130.0275.88
4.3.100.0070.0275.78
4.3.90.0200.0205.79
4.3.80.0100.0475.79
4.3.70.0170.0235.83
4.3.60.0030.0305.78
4.3.50.0070.0275.83
4.3.40.0000.0475.75
4.3.30.0070.0304.60
4.3.20.0100.0204.55
4.3.10.0100.0204.55
4.3.00.0130.0206.67

preferences:
145.27 ms | 1394 KiB | 7 Q