3v4l.org

run code in 500+ PHP versions simultaneously
<?php function printRange(int $from, int $to) { for($i=$from; $i<=$to; $i++) echo "$i "; } printRange(1, 48); printRange(114, 118);

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)
8.5.30.0100.00819.47
8.5.20.0090.00719.89
8.5.10.0050.00316.70
8.5.00.0160.00720.04
8.4.180.0130.00919.65
8.4.170.0140.00921.94
8.4.160.0130.01023.79
8.4.150.0080.00416.85
8.4.140.0140.00717.33
8.4.130.0130.00818.89
8.4.120.0120.00919.45
8.4.110.0110.00722.66
8.4.100.0120.00917.81
8.4.90.0130.00820.52
8.4.80.0130.00618.70
8.4.70.0090.01018.82
8.4.60.0110.00520.81
8.4.50.0140.00620.90
8.4.40.0040.00417.58
8.4.30.0090.00620.36
8.4.20.0070.01419.63
8.4.10.0080.00019.30
8.3.300.0150.01118.12
8.3.290.0090.01120.81
8.3.280.0130.00818.33
8.3.270.0180.00716.45
8.3.260.0080.00816.39
8.3.250.0110.01016.62
8.3.240.0140.00516.50
8.3.230.0060.00316.79
8.3.220.0110.00718.88
8.3.210.0130.00816.75
8.3.200.0040.00516.41
8.3.190.0080.01019.01
8.3.180.0130.00518.83
8.3.170.0150.00316.99
8.3.160.0060.01218.53
8.3.150.0130.00618.55
8.3.140.0040.00416.80
8.3.130.0040.00418.07
8.3.120.0030.00618.95
8.3.110.0120.00418.59
8.3.100.0050.00516.50
8.3.90.0370.01316.16
8.3.80.0490.00616.25
8.3.70.0240.00716.25
8.3.60.0430.00816.38
8.3.50.0440.00716.10
8.3.40.0270.01217.50
8.3.30.0290.01317.23
8.3.20.0410.00317.38
8.3.10.0310.01017.11
8.3.00.0240.01217.00
8.2.300.0100.01020.25
8.2.290.0060.00316.55
8.2.280.0050.00420.05
8.2.270.0070.01118.08
8.2.260.0060.00317.25
8.2.250.0130.00016.07
8.2.240.0120.00316.39
8.2.230.0030.00620.94
8.2.220.0040.00424.06
8.2.210.0250.00616.45
8.2.200.0150.00716.21
8.2.190.0180.00616.38
8.2.180.0330.00516.13
8.2.170.0360.00817.38
8.2.160.0310.00617.38
8.2.150.0310.00917.50
8.2.140.0380.00617.13
8.2.130.0280.01017.38
8.2.120.0220.00517.11
8.2.110.0180.00417.60
8.2.100.0160.00417.25
8.2.90.0230.00417.38
8.2.80.0140.00317.50
8.2.70.0000.01017.50
8.2.60.0050.00517.50
8.2.50.0030.00617.50
8.2.40.0070.00717.50
8.2.30.0180.00017.13
8.2.20.0150.00417.34
8.2.10.0080.01017.50
8.2.00.0160.00317.25
8.1.340.0110.01120.29
8.1.330.0110.00816.21
8.1.320.0130.00616.01
8.1.310.0040.01518.54
8.1.300.0090.00918.36
8.1.290.0260.00315.88
8.1.280.0190.00316.00
8.1.270.0370.00617.23
8.1.260.0330.00417.23
8.1.250.0310.01217.23
8.1.240.0390.00317.13
8.1.230.0340.00317.09
8.1.220.0240.01717.35
8.1.210.0390.00016.88
8.1.200.0370.00317.00
8.1.190.0280.01116.98
8.1.180.0270.00817.23
8.1.170.0370.00317.13
8.1.160.0290.01116.72
8.1.150.0230.01616.86
8.1.140.0330.00617.09
8.1.130.0320.00617.25
8.1.120.0300.00917.10
8.1.110.0340.00917.09
8.1.100.0350.00716.98
8.1.90.0330.00616.98
8.1.80.0290.01017.25
8.1.70.0250.01317.22
8.1.60.0370.00617.25
8.1.50.0390.00417.10
8.1.40.0350.00817.25
8.1.30.0370.00717.46
8.1.20.0290.01317.50
8.1.10.0340.00717.22
8.1.00.0380.00417.13

preferences:
64.82 ms | 991 KiB | 5 Q