3v4l.org

run code in 300+ PHP versions simultaneously
<?php $black = array(1,5,6); $tags = array(2,7,1); print_r(array_intersect($black, $tags));

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.0060.00916.50
8.3.50.0140.00722.78
8.3.40.0130.00018.42
8.3.30.0070.01418.88
8.3.20.0040.00420.21
8.3.10.0050.00323.64
8.3.00.0040.00417.25
8.2.180.0060.00916.38
8.2.170.0040.01122.96
8.2.160.0100.00320.52
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00626.16
8.2.120.0040.00421.02
8.2.110.0030.00619.28
8.2.100.0040.00717.72
8.2.90.0040.00419.08
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0000.00717.80
8.2.50.0000.00918.07
8.2.40.0040.00418.03
8.2.30.0060.00317.86
8.2.20.0040.00417.65
8.2.10.0070.00018.03
8.2.00.0030.00617.66
8.1.280.0120.00925.92
8.1.270.0030.00524.00
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0030.00622.52
8.1.230.0080.00320.85
8.1.220.0000.00818.77
8.1.210.0000.00818.90
8.1.200.0000.00817.23
8.1.190.0090.00017.13
8.1.180.0040.00418.10
8.1.170.0000.00818.39
8.1.160.0000.00721.99
8.1.150.0070.00018.80
8.1.140.0080.00017.25
8.1.130.0000.00717.92
8.1.120.0040.00417.41
8.1.110.0000.00717.26
8.1.100.0000.00717.27
8.1.90.0030.00517.38
8.1.80.0000.00717.44
8.1.70.0050.00317.34
8.1.60.0000.00817.50
8.1.50.0030.00517.43
8.1.40.0050.00317.35
8.1.30.0030.00517.51
8.1.20.0060.00317.55
8.1.10.0000.00717.43
8.1.00.0030.00517.26
8.0.300.0050.00319.95
8.0.290.0070.00016.63
8.0.280.0070.00018.36
8.0.270.0030.00317.23
8.0.260.0000.00617.18
8.0.250.0000.00716.88
8.0.240.0030.00516.95
8.0.230.0060.00316.74
8.0.220.0030.00316.86
8.0.210.0040.00416.82
8.0.200.0000.00616.86
8.0.190.0000.00716.76
8.0.180.0040.00416.85
8.0.170.0000.00816.76
8.0.160.0030.00316.67
8.0.150.0020.00516.78
8.0.140.0080.00016.75
8.0.130.0000.00713.21
8.0.120.0040.00416.78
8.0.110.0030.00316.68
8.0.100.0040.00416.86
8.0.90.0000.00716.70
8.0.80.0070.01016.69
8.0.70.0090.00016.76
8.0.60.0000.00816.69
8.0.50.0000.00816.70
8.0.30.0080.01016.98
8.0.20.0110.01017.40
8.0.10.0000.00816.78
8.0.00.0030.01416.80
7.4.330.0050.00015.09
7.4.320.0000.00616.30
7.4.300.0060.00016.41
7.4.290.0000.00716.33
7.4.280.0000.00716.53
7.4.270.0000.00816.45
7.4.260.0050.00216.43
7.4.250.0000.00716.49
7.4.240.0050.00216.50
7.4.230.0030.00316.64
7.4.220.0110.00716.45
7.4.210.0050.01016.39
7.4.200.0050.00216.53
7.4.160.0030.01316.48
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0100.00716.40
7.4.120.0120.01016.34
7.4.110.0120.00816.44
7.4.100.0140.00716.41
7.4.90.0090.00916.15
7.4.80.0200.00319.39
7.4.70.0100.01016.59
7.4.60.0060.01216.30
7.4.50.0030.00316.15
7.4.40.0130.01016.20
7.4.30.0130.00316.23
7.4.00.0050.01014.92
7.3.330.0060.00012.89
7.3.320.0050.00012.97
7.3.310.0050.00316.17
7.3.300.0000.00716.15
7.3.290.0090.00616.11
7.3.280.0060.01216.11
7.3.270.0070.01317.40
7.3.260.0120.00816.18
7.3.250.0130.00416.25
7.3.240.0000.01616.27
7.3.230.0130.01016.39
7.3.210.0050.01116.12
7.3.200.0100.00619.39
7.3.190.0070.01516.12
7.3.180.0060.01116.20
7.3.170.0120.00316.30
7.3.160.0070.01016.41
7.3.120.0050.01314.63
7.3.110.0040.01414.69
7.3.100.0030.01014.74
7.3.90.0080.00614.54
7.3.80.0100.00514.71
7.3.70.0050.00714.79
7.3.60.0060.00614.76
7.3.50.0060.00714.64
7.3.40.0030.01114.62
7.3.30.0070.00414.47
7.3.20.0110.00516.33
7.3.10.0060.00816.63
7.3.00.0060.00516.59
7.2.330.0140.00616.48
7.2.320.0090.00916.52
7.2.310.0060.01016.40
7.2.300.0040.01116.43
7.2.290.0080.00816.30
7.2.250.0050.01414.87
7.2.240.0070.00914.66
7.2.230.0050.01014.83
7.2.220.0030.00814.73
7.2.210.0070.00414.66
7.2.200.0080.00714.89
7.2.190.0090.00714.85
7.2.180.0080.00714.70
7.2.170.0030.01214.80
7.2.60.0030.01016.71
7.1.330.0020.01215.63
7.1.320.0060.00815.75
7.1.310.0040.00915.61
7.1.300.0020.01115.70
7.1.290.0070.00615.56
7.1.280.0050.00915.63
7.1.270.0070.00915.82
7.1.260.0090.00515.74
7.1.200.0250.00915.31
7.1.100.0030.01318.11
7.1.70.0040.00417.04
7.1.60.0130.01019.40
7.1.50.0040.01817.02
7.1.00.0030.07722.36
7.0.200.0050.00316.63
7.0.140.0030.07322.00
7.0.60.0030.08319.85
7.0.50.0000.05017.86
7.0.40.0100.08720.30
7.0.30.0530.07020.06
7.0.20.0230.06320.15
7.0.10.0130.03720.24
7.0.00.0170.07720.15
5.6.280.0030.07320.75
5.6.210.0100.07720.52
5.6.200.0100.03318.18
5.6.190.0070.06020.61
5.6.180.0330.06020.57
5.6.170.0100.05020.54
5.6.160.0100.08320.46
5.6.150.0030.04018.32
5.6.140.0070.08018.20
5.6.130.0030.04018.18
5.6.120.0070.07320.98
5.6.110.0200.07020.99
5.6.100.0030.04720.92
5.6.90.0170.07020.92
5.6.80.0070.03320.50
5.5.350.0030.03020.34
5.5.340.0030.08317.95
5.5.330.0030.06020.13
5.5.320.0100.04720.31
5.5.310.0370.06320.50
5.5.300.0030.08317.97
5.5.290.0100.07017.99
5.5.280.0030.09320.76
5.5.270.0130.03720.66
5.5.260.0000.09020.65
5.5.250.0070.06320.77
5.5.240.0070.04020.18
5.4.450.4030.04319.46
5.4.440.3930.04319.39
5.4.430.3830.04019.50
5.4.420.0100.03719.54
5.4.410.3230.03719.19
5.4.400.3530.04319.06
5.4.390.3500.03319.09
5.4.380.3630.03318.95
5.4.370.4170.04019.21
5.4.360.4200.04018.85
5.4.350.0030.04719.13
5.4.340.4700.04018.99
5.4.320.3870.03718.85
5.4.310.4170.04719.14
5.4.300.4100.03019.07
5.4.290.3770.03319.06
5.4.280.4170.03018.87
5.4.270.3970.04318.97
5.4.260.3800.03319.21
5.4.250.3730.04019.08
5.4.240.4000.03719.13
5.4.230.3930.03318.94
5.4.220.4030.03318.86
5.4.210.3470.04019.18
5.4.200.4030.04019.13
5.4.190.3400.03719.16
5.4.180.2970.03319.00
5.4.170.3170.04018.93
5.4.160.3200.03019.06
5.4.150.3200.03319.29
5.4.140.2930.03316.29
5.4.130.3170.03316.28
5.4.120.3970.02316.66
5.4.110.3270.03716.45
5.4.100.3200.03316.40
5.4.90.3330.03316.35
5.4.80.4200.03716.19
5.4.70.4070.03316.26
5.4.60.4130.03716.56
5.4.50.4200.02716.55
5.4.40.3630.04016.53
5.4.30.3600.03316.48
5.4.20.3470.03716.52
5.4.10.3600.03716.25
5.4.00.3900.03715.70
5.3.290.3930.03314.77
5.3.280.3870.04014.48
5.3.270.3200.04014.71
5.3.260.3100.04014.60
5.3.250.3200.03314.57
5.3.240.2930.03714.57
5.3.230.3230.03314.51
5.3.220.3270.03714.56
5.3.210.3730.04014.57
5.3.200.3270.03714.47
5.3.190.3670.04014.55
5.3.180.4070.03314.65
5.3.170.4100.03314.56
5.3.160.3430.02714.46
5.3.150.3970.03714.67
5.3.140.3970.03714.63
5.3.130.3870.04014.44
5.3.120.3800.03714.46
5.3.110.3230.04014.70
5.3.100.4000.04014.11
5.3.90.4870.02713.92
5.3.80.4000.03714.17
5.3.70.4100.03714.12
5.3.60.3670.03713.97
5.3.50.4100.03313.84
5.3.40.4170.03014.01
5.3.30.4000.03714.02
5.3.20.4030.03313.59
5.3.10.3800.03713.63
5.3.00.4230.04713.79
5.2.170.3600.03711.25
5.2.160.3530.02711.19
5.2.150.3330.03311.07
5.2.140.3100.03011.11
5.2.130.3400.03311.01
5.2.120.3130.02311.05
5.2.110.3200.02011.18
5.2.100.2730.03311.15
5.2.90.3100.02711.02
5.2.80.2930.02711.05
5.2.70.3100.03311.30
5.2.60.3200.02710.95
5.2.50.3200.02711.17
5.2.40.2400.03011.21
5.2.30.2170.02311.08
5.2.20.2600.02710.93
5.2.10.2770.03010.86
5.2.00.2500.03010.83
5.1.60.2770.02710.34
5.1.50.2500.02310.34
5.1.40.2800.02310.34
5.1.30.2900.02710.49
5.1.20.2900.02310.42
5.1.10.2730.02310.34
5.1.00.3000.02010.34
5.0.50.1570.02310.34
5.0.40.1300.01710.34
5.0.30.1630.03310.34
5.0.20.1270.02010.34
5.0.10.1570.02310.34
5.0.00.1500.03310.34
4.4.90.1230.01710.34
4.4.80.1570.01010.34
4.4.70.1400.01310.34
4.4.60.1730.00710.34
4.4.50.1670.01310.34
4.4.40.1430.02310.34
4.4.30.1330.01310.34
4.4.20.1630.01310.34
4.4.10.1300.01310.34
4.4.00.1600.02710.34
4.3.110.1370.01310.34
4.3.100.1270.01310.34
4.3.90.0900.02010.34
4.3.80.1330.02710.34
4.3.70.1570.01710.34
4.3.60.1670.01710.34
4.3.50.1630.01310.34
4.3.40.0930.03310.34
4.3.30.0900.01710.34
4.3.20.0670.01710.34
4.3.10.0670.01310.34
4.3.00.0800.02010.34

preferences:
63.35 ms | 401 KiB | 5 Q