3v4l.org

run code in 300+ PHP versions simultaneously
<?php $imageRes = (bool)count(array_intersect(['image1', 'image2'], ['image', 'image1', 'image2'])); var_dump($imageRes);

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.130.0000.00818.56
8.3.120.0080.00818.85
8.3.110.0030.00620.94
8.3.100.0040.00418.42
8.3.90.0080.00018.41
8.3.80.0050.00517.97
8.3.70.0040.01116.75
8.3.60.0140.00718.15
8.3.50.0060.01018.29
8.3.40.0120.00318.86
8.3.30.0110.00318.32
8.3.20.0070.00020.65
8.3.10.0070.00023.71
8.3.00.0050.00220.55
8.2.250.0160.00318.36
8.2.240.0040.00417.37
8.2.230.0100.00022.58
8.2.220.0060.00324.06
8.2.210.0080.00026.77
8.2.200.0030.00618.41
8.2.190.0110.00417.93
8.2.180.0120.00918.41
8.2.170.0120.00322.96
8.2.160.0120.00322.12
8.2.150.0000.00824.18
8.2.140.0070.00724.66
8.2.130.0070.00026.16
8.2.120.0000.00726.16
8.2.110.0030.00622.07
8.2.100.0130.00017.84
8.2.90.0080.00019.18
8.2.80.0030.00517.97
8.2.70.0050.00317.75
8.2.60.0000.00817.63
8.2.50.0080.00017.55
8.2.40.0000.00819.28
8.2.30.0000.00720.66
8.2.20.0040.00418.08
8.2.10.0040.00419.12
8.2.00.0070.00017.92
8.1.300.0080.00018.45
8.1.290.0060.00318.88
8.1.280.0000.01425.92
8.1.270.0070.00023.99
8.1.260.0070.00026.35
8.1.250.0100.00328.09
8.1.240.0030.00623.88
8.1.230.0070.00418.94
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0000.00818.54
8.1.160.0070.00018.79
8.1.150.0070.00018.75
8.1.140.0030.00519.02
8.1.130.0030.00720.16
8.1.120.0070.00017.40
8.1.110.0050.00217.46
8.1.100.0000.00817.31
8.1.90.0050.00317.50
8.1.80.0030.00517.43
8.1.70.0070.00017.34
8.1.60.0020.00517.46
8.1.50.0120.00017.50
8.1.40.0080.00017.49
8.1.30.0000.00817.66
8.1.20.0100.00017.46
8.1.10.0040.00417.42
8.1.00.0070.00017.39
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0040.00418.44
8.0.270.0000.00717.15
8.0.260.0000.00618.35
8.0.250.0000.00716.91
8.0.240.0000.00816.94
8.0.230.0070.00016.97
8.0.220.0000.00716.80
8.0.210.0040.00416.77
8.0.200.0000.00816.90
8.0.190.0050.00216.98
8.0.180.0040.00416.77
8.0.170.0000.00916.88
8.0.160.0000.00816.93
8.0.150.0040.00416.77
8.0.140.0000.00716.86
8.0.130.0030.00313.32
8.0.120.0080.00016.82
8.0.110.0050.00316.78
8.0.100.0000.00716.76
8.0.90.0000.00716.88
8.0.80.0070.01316.87
8.0.70.0040.00416.74
8.0.60.0000.00716.77
8.0.50.0040.00416.95
8.0.30.0160.00017.00
8.0.20.0110.00717.05
8.0.10.0000.00717.04
8.0.00.0130.00716.70
7.4.330.0030.00315.55
7.4.320.0030.00316.51
7.4.300.0030.00316.41
7.4.290.0050.00316.50
7.4.280.0030.00516.54
7.4.270.0040.00416.55
7.4.260.0050.00316.59
7.4.250.0000.00716.44
7.4.240.0040.00416.57
7.4.230.0030.00316.61
7.4.220.0050.00316.59
7.4.210.0060.00816.55
7.4.200.0000.00716.35
7.4.160.0110.00916.48
7.4.140.0100.01317.86
7.4.130.0060.01116.32
7.4.120.0060.01216.57
7.4.110.0080.00816.38
7.4.100.0070.01016.52
7.4.90.0150.00416.37
7.4.80.0000.01619.39
7.4.70.0130.00316.52
7.4.60.0030.01216.52
7.4.50.0040.00816.41
7.4.40.0080.00816.37
7.4.00.0060.01015.14
7.3.330.0030.00313.13
7.3.320.0000.00513.13
7.3.310.0000.00716.28
7.3.300.0060.00016.21
7.3.290.0030.00316.05
7.3.280.0090.01216.16
7.3.260.0100.00816.29
7.3.230.0030.01316.21
7.3.210.0060.01216.31
7.3.200.0100.00616.12
7.3.190.0060.00916.17
7.3.180.0110.00716.45
7.3.170.0110.01116.25
7.3.160.0070.01016.56
7.3.40.0090.00214.69
7.3.30.0150.00614.62
7.3.20.0100.00616.50
7.3.10.0090.00516.47
7.3.00.0070.00716.55
7.2.330.0140.00716.54
7.2.320.0100.01016.40
7.2.310.0160.00816.64
7.2.300.0070.01016.27
7.2.290.0000.01716.59
7.2.170.0030.00714.76
7.2.160.0090.00314.83
7.2.150.0140.00716.67
7.2.140.0100.00316.83
7.2.130.0150.00716.73
7.2.120.0100.00316.73
7.2.110.0100.00716.74
7.2.100.0040.00816.76
7.2.90.0080.00816.91
7.2.80.0040.00716.76
7.2.70.0090.01116.87
7.2.60.0080.00416.88
7.2.50.0100.00716.84
7.2.40.0120.00516.71
7.2.30.0070.00616.85
7.2.20.0110.00616.85
7.2.10.0080.00516.98
7.2.00.0050.01416.85
7.1.280.0050.01015.62
7.1.270.0060.01315.69
7.1.260.0080.00315.83
7.1.250.0110.00915.63

preferences:
15.71 ms | 403 KiB | 5 Q