3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(1) { echo tempnam("", "foo_"), "\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)
8.3.60.0720.01018.30
8.3.50.0720.02019.68
8.3.40.0580.01718.86
8.3.30.0540.00918.70
8.3.20.0310.00721.85
8.3.10.0320.01320.21
8.3.00.0340.00320.96
8.2.180.0740.01725.92
8.2.170.0730.01718.87
8.2.160.0670.00720.24
8.2.150.0340.00324.18
8.2.140.0370.00324.66
8.2.130.0350.00326.16
8.2.120.0360.00619.83
8.2.110.0450.01421.09
8.2.100.0500.00917.78
8.2.90.0250.00917.84
8.2.80.0220.00918.04
8.2.70.0250.00317.50
8.2.60.0230.01017.75
8.2.50.0340.00318.07
8.2.40.0130.01318.09
8.2.30.0220.00618.14
8.2.20.0240.00318.09
8.2.10.0240.00318.04
8.2.00.0220.01318.32
8.1.280.0640.00325.92
8.1.270.0320.00623.96
8.1.260.0330.00726.35
8.1.250.0390.00328.09
8.1.240.0390.00722.48
8.1.230.0540.00321.04
8.1.220.0140.01417.74
8.1.210.0220.01318.89
8.1.200.0300.00617.25
8.1.190.0340.00017.10
8.1.180.0100.01718.10
8.1.170.0290.00318.69
8.1.160.0200.00718.89
8.1.150.0200.00720.28
8.1.140.0160.01919.64
8.1.130.0130.01319.04
8.1.120.0170.00717.43
8.1.110.0250.00617.36
8.1.100.0230.00717.32
8.1.90.0200.01317.36
8.1.80.0230.00717.32
8.1.70.0130.01317.46
8.1.60.0130.01317.50
8.1.50.0210.00617.42
8.1.40.0240.00717.43
8.1.30.0290.00617.56
8.1.20.0240.00317.57
8.1.10.0280.00017.49
8.1.00.0240.00717.46
8.0.300.0220.00719.73
8.0.290.0250.00916.58
8.0.280.0230.01020.01
8.0.270.0280.00617.06
8.0.260.0210.00717.04
8.0.250.0190.01116.89
8.0.240.0310.00816.94
8.0.230.0190.00616.83
8.0.220.0230.00716.66
8.0.210.0260.00416.73
8.0.200.0210.01016.77
8.0.190.0200.00716.78
8.0.180.0230.00616.81
8.0.170.0250.00416.79
8.0.160.0230.01016.86
8.0.150.0200.01616.75
8.0.140.0200.01016.73
8.0.130.0160.00313.32
8.0.120.0130.01316.79
8.0.110.0180.00616.69
8.0.100.0210.00416.67
8.0.90.0170.00716.63
8.0.80.0420.03516.68
8.0.70.0210.00316.79
8.0.60.0170.00716.57
8.0.50.0160.01016.64
8.0.30.0660.04516.78
8.0.20.1010.04217.40
8.0.10.0080.00816.86
8.0.00.0380.01716.59
7.4.330.0130.01415.55
7.4.320.0240.00316.28
7.4.300.0260.01016.18
7.4.290.0180.00616.17
7.4.280.0340.00316.25
7.4.270.0190.00916.36
7.4.260.0130.01016.15
7.4.250.0140.01016.20
7.4.240.0180.00716.26
7.4.230.0150.00916.23
7.4.220.1010.05316.22
7.4.210.0230.05516.30
7.4.200.0160.01016.34
7.4.160.0910.03716.25
7.4.150.0810.04217.40
7.4.140.0150.01817.86
7.4.130.0280.01616.48
7.4.120.0480.01516.32
7.4.110.0190.01716.28
7.4.100.0300.02216.20
7.4.90.0860.03316.30
7.4.80.0980.00419.39
7.4.70.1060.01716.35
7.4.60.0220.03516.30
7.4.50.0420.01816.30
7.4.40.0470.00416.49
7.4.30.0210.00416.16
7.3.330.0200.00313.16
7.3.320.0130.01313.10
7.3.310.0050.01016.15
7.3.300.0070.00316.18
7.3.290.0210.01516.13
7.3.280.0160.01316.10
7.3.270.0200.02017.40
7.3.260.0350.01816.42
7.3.250.0330.01616.25
7.3.240.0210.01116.15
7.3.230.0350.01216.30
7.3.210.0730.02616.07
7.3.200.0210.03016.29
7.3.190.0450.01616.08
7.3.180.0140.01916.30
7.3.170.0900.01416.26
7.3.160.0160.00616.43
7.2.330.0210.02916.35
7.2.320.0280.01916.50
7.2.310.0590.01516.34
7.2.300.0080.01216.36
7.2.290.0320.01616.24
7.1.20.0530.06340.43
7.1.10.0330.07022.25
7.1.00.0230.06722.27
7.0.160.0470.05021.82
7.0.150.0430.06721.72
7.0.140.0330.07721.84
7.0.130.0570.04721.94
7.0.120.0400.05021.77
7.0.110.0300.06021.81
7.0.100.0270.06721.87
7.0.90.0300.07321.95
7.0.80.0270.07021.82
7.0.70.0730.06720.11
7.0.60.1170.05719.96
7.0.50.0700.07021.88
7.0.40.0400.06020.07
7.0.30.0400.05721.83
7.0.20.1100.06719.98
7.0.10.0630.07020.16
7.0.00.0670.06719.97

preferences:
66.86 ms | 401 KiB | 5 Q