3v4l.org

run code in 300+ PHP versions simultaneously
<?php $images = ['what.jpeg', 'hey.jpg']; foreach ($images as $image) { $lookup[pathinfo($image, PATHINFO_FILENAME)] = $image; } var_export($lookup);

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.10.0100.01016.82
8.5.00.0120.00919.69
8.4.150.0020.00014.05
8.4.140.0140.00617.50
8.4.130.0160.00418.43
8.4.120.0060.00423.96
8.4.110.0260.00919.06
8.4.100.0220.00518.07
8.4.90.0230.01119.13
8.4.80.0240.01118.27
8.4.70.0230.00619.11
8.4.60.0270.00718.81
8.4.50.0250.01118.02
8.4.40.0250.01018.44
8.4.30.0270.00917.45
8.4.20.0320.00819.06
8.4.10.0300.00419.03
8.3.280.0090.01318.45
8.3.270.0090.01016.75
8.3.260.0100.00516.70
8.3.250.0060.00517.29
8.3.240.0210.00516.69
8.3.230.0160.00616.63
8.3.220.0160.00417.90
8.3.210.0160.00717.41
8.3.200.0120.00416.60
8.3.190.0200.00516.79
8.3.180.0220.00917.67
8.3.170.0150.00616.71
8.3.160.0140.00617.49
8.3.150.0140.00316.43
8.3.140.0170.00417.51
8.3.130.0130.00617.41
8.3.120.0130.00417.48
8.3.110.0130.00218.74
8.3.100.0110.00620.26
8.3.90.0130.00821.61
8.3.80.0160.00116.51
8.3.70.0180.00416.44
8.3.60.0150.00317.37
8.3.50.0160.00917.54
8.3.40.0160.00718.02
8.3.30.0170.01218.20
8.3.20.0190.00919.03
8.3.10.0160.00819.53
8.3.00.0130.00620.73
8.2.290.0220.00918.63
8.2.280.0190.01117.48
8.2.270.0230.00416.44
8.2.260.0150.00916.86
8.2.250.0180.00616.52
8.2.240.0210.01016.76
8.2.230.0170.00919.36
8.2.220.0230.00427.01
8.2.210.0180.00721.40
8.2.200.0200.00516.68
8.2.190.0210.01016.56
8.2.180.0130.00917.35
8.2.170.0250.00618.41
8.2.160.0280.00220.32
8.2.150.0230.00420.88
8.2.140.0210.01021.04
8.2.130.0230.00518.64
8.2.120.0160.00222.01
8.2.110.0190.01019.80
8.2.100.0200.00917.70
8.2.90.0200.00619.99
8.2.80.0210.00517.80
8.2.70.0230.00517.75
8.2.60.0180.00717.77
8.2.50.0160.00817.77
8.2.40.0240.00418.62
8.2.30.0160.00819.05
8.2.20.0170.00617.77
8.2.10.0180.00718.32
8.2.00.0180.00817.81
8.1.330.0170.00519.01
8.1.320.0210.00816.23
8.1.310.0200.00916.33
8.1.300.0200.00518.07
8.1.290.0180.00817.41
8.1.280.0180.01221.07
8.1.270.0210.00419.69
8.1.260.0230.00421.86
8.1.250.0190.00422.72
8.1.240.0200.00419.96
8.1.230.0160.00819.16
8.1.220.0180.00417.55
8.1.210.0200.00518.04
8.1.200.0190.00817.26
8.1.190.0190.00617.15
8.1.180.0200.00417.52
8.1.170.0140.00617.83
8.1.160.0160.00518.04
8.1.150.0160.00818.14
8.1.140.0160.00418.08
8.1.130.0170.00618.70
8.1.120.0150.00817.37
8.1.110.0140.00717.32
8.1.100.0150.00817.29
8.1.90.0180.00517.22
8.1.80.0160.00717.29
8.1.70.0180.00417.37
8.1.60.0200.00817.47
8.1.50.0140.00917.32
8.1.40.0170.00617.48
8.1.30.0180.00517.38
8.1.20.0230.00417.50
8.1.10.0180.00717.47
8.1.00.0150.00917.33
8.0.300.0190.00518.37
8.0.290.0190.00416.62
8.0.280.0190.00517.52
8.0.270.0210.00316.96
8.0.260.0170.00617.63
8.0.250.0130.00816.82
8.0.240.0130.01016.79
8.0.230.0180.00616.62
8.0.220.0170.00616.72
8.0.210.0170.00616.67
8.0.200.0200.00616.73
8.0.190.0170.00616.77
8.0.180.0160.00616.74
8.0.170.0150.00516.85
8.0.160.0190.00516.78
8.0.150.0180.00616.75
8.0.140.0190.00416.70
8.0.130.0120.00514.97
8.0.120.0170.00616.65
8.0.110.0190.00516.55
8.0.100.0130.00816.67
8.0.90.0090.00716.74
8.0.80.0220.00916.72
8.0.70.0220.00516.68
8.0.60.0130.00716.57
8.0.50.0070.00516.76
8.0.30.0110.00716.81
8.0.20.0150.00417.02
8.0.10.0100.00616.80
8.0.00.0110.00916.62
7.4.330.0160.00616.46
7.4.320.0170.00516.44
7.4.300.0170.00616.32
7.4.290.0150.00616.44
7.4.280.0150.00816.37
7.4.270.0180.00416.41
7.4.260.0150.00716.18
7.4.250.0160.00716.35
7.4.240.0150.00616.38
7.4.230.0170.00616.27
7.4.220.0180.00616.54
7.4.210.0140.00816.50
7.4.200.0190.00316.46
7.4.190.0310.00616.31
7.4.180.0310.00616.10
7.4.160.0210.00916.43
7.4.150.0320.00716.30
7.4.140.0260.00715.96
7.4.130.0180.00516.22
7.4.120.0140.00816.37
7.4.110.0110.00716.30
7.4.100.0100.00716.37
7.4.90.0090.00816.28
7.4.80.0140.00517.79
7.4.70.0160.01016.34
7.4.60.0260.00616.25
7.4.50.0150.00816.17
7.4.40.0180.00816.36
7.4.30.0330.00516.24
7.4.20.0300.00316.39
7.4.10.0150.00216.14
7.4.00.0090.00715.77
7.3.330.0070.00314.71
7.3.320.0170.00514.63
7.3.310.0140.00616.23
7.3.300.0160.00516.20
7.3.290.0150.00616.05
7.3.280.0160.00616.17
7.3.270.0280.00715.99
7.3.260.0130.00816.38
7.3.250.0260.00716.07
7.3.240.0130.00716.32
7.3.230.0160.00916.21
7.3.220.0290.00516.13
7.3.210.0130.00716.20
7.3.200.0140.00316.28
7.3.190.0120.00616.34
7.3.180.0100.00716.16
7.3.170.0090.00916.38
7.3.160.0110.00516.26
7.3.150.0140.00316.05
7.3.140.0160.00616.07
7.3.130.0170.00515.91
7.3.120.0140.00216.05
7.3.110.0090.00616.05
7.3.100.0130.00216.05
7.3.90.0260.01116.38
7.3.80.0270.00815.70
7.3.70.0220.00916.27
7.3.60.0160.00316.32
7.3.50.0130.00316.29
7.3.40.0180.00515.57
7.3.30.0140.00715.45
7.3.20.0230.00515.50
7.3.10.0220.00515.35
7.3.00.0180.00615.37
7.2.340.0240.00816.13
7.2.330.0180.00616.44
7.2.320.0200.00616.31
7.2.310.0230.00516.39
7.2.300.0190.00616.38
7.2.290.0190.00816.41
7.2.280.0280.00816.11
7.2.270.0290.00616.32
7.2.260.0300.00516.23
7.2.250.0270.00816.03
7.2.240.0300.00715.96
7.2.230.0220.00916.12
7.2.220.0300.00715.93
7.2.210.0300.00616.26
7.2.200.0230.01015.96
7.2.190.0130.00416.30
7.2.180.0270.00816.16
7.2.170.0160.00915.49
7.2.160.0220.00415.50
7.2.150.0200.00815.75
7.2.140.0130.00515.66
7.2.130.0400.00915.75
7.2.120.0200.00615.46
7.2.110.0170.00515.86
7.2.100.0110.00815.73
7.2.90.0140.00615.75
7.2.80.0250.00615.77
7.2.70.0180.00615.83
7.2.60.0160.00815.83
7.2.50.0160.00215.73
7.2.40.0080.00715.76
7.2.30.0140.00215.61
7.2.20.0120.00415.88
7.2.10.0200.00615.83
7.2.00.0120.00315.69
7.1.330.0250.00815.54
7.1.320.0210.00815.48
7.1.310.0230.00615.32
7.1.300.0270.00615.43
7.1.290.0230.00615.32
7.1.280.0210.00914.47
7.1.270.0970.00714.85
7.1.260.0130.00714.80
7.1.250.0260.00714.79
7.1.240.0130.00415.07
7.1.230.0320.00415.17
7.1.220.0200.00415.43
7.1.210.0190.00415.34
7.1.200.0290.00615.65
7.1.190.0230.01115.47
7.1.180.0270.00715.55
7.1.170.0230.00915.40
7.1.160.0260.00515.30
7.1.150.0270.00815.46
7.1.140.0290.00815.04
7.1.130.0260.00915.27
7.1.120.0300.00215.35
7.1.110.0210.00615.37
7.1.100.0230.00615.41
7.1.90.0130.00215.62
7.1.80.0270.00615.62
7.1.70.0240.00814.91
7.1.60.0280.00515.29
7.1.50.0270.00815.23
7.1.40.0190.00415.36
7.1.30.0590.00415.39
7.1.20.0110.00515.29
7.1.10.0110.00515.10
7.1.00.0290.00915.32

preferences:
42.56 ms | 403 KiB | 5 Q