3v4l.org

run code in 500+ PHP versions simultaneously
<?php $contents = new RecursiveCallbackFilterIterator( new RecursiveDirectoryIterator(__DIR__), function ($current, $key, $iterator): bool { return true; }, ); while ($contents->valid()) { echo $contents->getSubPathName() . "\n"; $contents->next(); }

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.70.0120.00616.64
8.5.60.0060.00816.57
8.5.50.0050.00216.58
8.5.30.0110.00719.30
8.5.20.0130.00518.40
8.5.10.0120.00518.34
8.5.00.0120.01020.14
8.4.220.0110.00622.20
8.4.210.0070.01219.41
8.4.180.0120.00923.83
8.4.170.0030.00720.50
8.4.160.0150.00621.13
8.4.150.0070.00516.83
8.4.140.0120.00817.79
8.4.130.0120.00818.63
8.4.120.0030.00624.29
8.4.110.0090.00618.83
8.4.100.0130.00621.10
8.4.90.0120.00918.45
8.4.80.0140.00717.58
8.4.70.0130.00617.66
8.4.60.0090.01218.79
8.4.50.0100.00919.40
8.4.40.0070.01417.63
8.4.30.0080.00020.46
8.4.20.0130.00717.82
8.4.10.0040.00421.79
8.3.310.0120.01018.65
8.3.300.0070.00920.95
8.3.290.0120.00820.95
8.3.280.0100.01018.29
8.3.270.0110.00816.49
8.3.260.0040.00516.59
8.3.250.0140.00418.80
8.3.240.0100.00416.84
8.3.230.0070.00416.54
8.3.220.0080.00917.31
8.3.210.0090.00716.62
8.3.200.0030.00516.54
8.3.190.0110.00817.21
8.3.180.0100.00816.63
8.3.170.0090.00920.47
8.3.160.0040.00417.18
8.3.150.0030.00516.57
8.3.140.0000.01017.10
8.3.130.0060.00318.25
8.3.120.0040.00420.65
8.3.110.0030.00616.38
8.3.100.0080.00818.18
8.3.90.0050.00316.79
8.3.80.0030.00618.43
8.3.70.0120.00316.63
8.3.60.0060.00918.29
8.3.50.0080.00816.69
8.3.40.0070.00721.84
8.3.30.0110.00318.74
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0080.00026.16
8.2.310.0120.00718.06
8.2.300.0090.01122.26
8.2.290.0110.00620.18
8.2.280.0100.00918.38
8.2.270.0070.01317.18
8.2.260.0000.01216.93
8.2.250.0080.00018.60
8.2.240.0060.00317.31
8.2.230.0060.00320.94
8.2.220.0030.00637.54
8.2.210.0040.01126.77
8.2.200.0060.00318.42
8.2.190.0150.00416.63
8.2.180.0110.00716.50
8.2.170.0110.00318.77
8.2.160.0080.00322.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0060.00320.90
8.2.100.0040.00817.84
8.2.90.0170.00618.30
8.2.80.0250.00817.38
8.2.70.0270.00517.44
8.2.60.0150.00617.50
8.2.50.0250.00617.38
8.2.40.0170.01117.38
8.2.30.0190.00917.31
8.2.20.0230.00617.25
8.2.10.0240.00317.50
8.2.00.0200.00817.50
8.1.340.0110.01017.62
8.1.330.0120.00722.18
8.1.320.0060.00916.12
8.1.310.0040.00418.46
8.1.300.0040.00418.51
8.1.290.0030.00618.88
8.1.280.0030.01025.92
8.1.270.0060.00323.81
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00722.54
8.1.230.0000.01122.50
8.1.220.0250.00217.25
8.1.210.0210.00717.12
8.1.200.0230.00516.98
8.1.190.0240.00517.05
8.1.180.0230.00417.06
8.1.170.0280.00117.13
8.1.160.0260.00817.31
8.1.150.0280.00217.36
8.1.140.0220.00517.19
8.1.130.0230.00517.16
8.1.120.0250.00317.06
8.1.110.0220.00617.22
8.1.100.0250.00317.19
8.1.90.0180.00817.25
8.1.80.0210.00617.19
8.1.70.0220.00217.39
8.1.60.0210.00817.13
8.1.50.0210.00717.24
8.1.40.0190.00817.11
8.1.30.0200.00617.48
8.1.20.0250.00617.30
8.1.10.0250.00517.50
8.1.00.0230.00617.25
8.0.300.0250.00416.80
8.0.290.0250.00316.80
8.0.280.0270.00216.80
8.0.270.0220.00716.80
8.0.260.0210.00816.80
8.0.250.0220.00516.80
8.0.240.0250.00716.80
8.0.230.0250.00316.80
8.0.220.0250.00316.80
8.0.210.0200.00816.80
8.0.200.0250.00216.80
8.0.190.0240.00416.80
8.0.180.0280.00016.80
8.0.170.0250.00316.80
8.0.160.0230.00516.84
8.0.150.0250.00616.80
8.0.140.0200.00916.80
8.0.130.0200.00816.80
8.0.120.0190.00916.80
8.0.110.0220.00316.80
8.0.100.0260.00116.80
8.0.90.0250.00316.80
8.0.80.0180.00917.83
8.0.70.0250.00316.80
8.0.60.0230.00516.80
8.0.50.0190.00716.80
8.0.30.0230.00416.80
8.0.20.0220.00616.80
8.0.10.0300.00216.80

preferences:
81.79 ms | 1117 KiB | 5 Q