3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accessible = array('title', 'description', 'category_ids'); $attributes = array('id', 'title', 'description', 'permalink', 'author_id', 'category_ids', 'pippo'); print_r(array_intersect($accessible, $attributes)); print_r(array_diff($attributes, $accessible));

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.0100.01016.38
8.3.50.0050.01217.24
8.3.40.0150.00018.54
8.3.30.0150.00018.58
8.3.20.0050.00318.55
8.3.10.0050.00318.77
8.3.00.0080.00319.25
8.2.180.0100.01016.38
8.2.170.0040.01122.96
8.2.160.0070.00720.80
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00020.45
8.2.110.0070.00421.25
8.2.100.0120.00017.59
8.2.90.0000.00919.11
8.2.80.0030.00619.21
8.2.70.0000.00817.63
8.2.60.0080.00017.91
8.2.50.0030.00518.07
8.2.40.0000.00718.03
8.2.30.0040.00417.96
8.2.20.0050.00317.57
8.2.10.0000.00817.63
8.2.00.0030.00717.52
8.1.280.0130.00725.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.49
8.1.230.0040.01120.96
8.1.220.0040.00417.74
8.1.210.0090.00018.85
8.1.200.0030.00617.22
8.1.190.0060.00317.39
8.1.180.0000.00918.10
8.1.170.0040.00418.84
8.1.160.0040.00418.83
8.1.150.0000.00718.61
8.1.140.0000.00717.26
8.1.130.0030.00317.73
8.1.120.0070.00017.31
8.1.110.0050.00317.39
8.1.100.0070.00017.42
8.1.90.0070.00017.30
8.1.80.0050.00217.30
8.1.70.0030.00317.29
8.1.60.0030.00617.44
8.1.50.0000.00917.45
8.1.40.0050.00317.34
8.1.30.0080.00017.61
8.1.20.0000.00817.52
8.1.10.0030.00517.52
8.1.00.0040.00417.34
8.0.300.0000.00719.76
8.0.290.0050.00316.63
8.0.280.0030.00318.38
8.0.270.0000.00717.10
8.0.260.0000.00716.63
8.0.250.0000.00816.93
8.0.240.0000.00716.89
8.0.230.0000.00716.84
8.0.220.0000.00716.80
8.0.210.0100.00016.71
8.0.200.0030.00316.93
8.0.190.0050.00216.87
8.0.180.0000.00716.83
8.0.170.0060.00316.83
8.0.160.0000.00816.89
8.0.150.0030.00616.73
8.0.140.0020.01016.76
8.0.130.0060.00013.26
8.0.120.0030.00516.79
8.0.110.0000.00816.82
8.0.100.0000.00716.82
8.0.90.0040.00416.81
8.0.80.0000.01616.78
8.0.70.0040.00416.70
8.0.60.0000.00716.61
8.0.50.0000.00716.64
8.0.30.0100.01017.11
8.0.20.0150.00317.10
8.0.10.0000.00716.77
8.0.00.0100.00816.59
7.4.330.0050.00012.86
7.4.320.0030.00316.54
7.4.300.0000.00716.36
7.4.290.0090.00016.34
7.4.280.0030.00616.46
7.4.270.0000.00716.41
7.4.260.0000.00613.13
7.4.250.0080.00016.35
7.4.240.0030.00316.54
7.4.230.0000.00716.36
7.4.220.0120.00616.31
7.4.210.0070.00916.49
7.4.200.0030.00416.42
7.4.190.0000.00716.60
7.4.160.0060.01516.37
7.4.150.0150.00316.48
7.4.140.0100.00816.38
7.4.130.0120.00816.51
7.4.120.0090.00816.51
7.4.110.0030.01516.58
7.4.100.0140.00916.46
7.4.90.0130.01016.24
7.4.80.0100.00719.39
7.4.70.0060.00916.38
7.4.60.0040.01616.31
7.4.50.0050.00316.18
7.4.40.0030.01216.45
7.4.30.0030.01316.52
7.4.00.0040.01114.89
7.3.330.0030.00512.96
7.3.320.0000.00512.90
7.3.310.0070.00015.98
7.3.300.0070.00016.14
7.3.290.0140.00016.07
7.3.280.0070.00716.21
7.3.270.0030.01316.37
7.3.260.0030.01416.33
7.3.250.0070.01016.12
7.3.240.0170.00416.43
7.3.230.0130.00316.19
7.3.210.0040.01516.25
7.3.200.0130.00816.56
7.3.190.0070.01016.25
7.3.180.0080.01116.30
7.3.170.0060.00916.20
7.3.160.0070.01016.43
7.3.120.0050.01114.74
7.3.110.0060.01014.66
7.3.100.0110.00414.62
7.3.90.0000.01614.77
7.3.80.0090.00614.40
7.3.70.0070.00714.71
7.3.60.0030.01314.56
7.3.50.0090.00614.84
7.3.40.0000.01014.79
7.3.30.0060.01014.29
7.3.20.0070.01016.45
7.3.10.0100.00716.44
7.3.00.0060.00616.41
7.2.330.0150.00916.30
7.2.320.0060.01616.32
7.2.310.0090.00616.22
7.2.300.0090.00616.57
7.2.290.0070.01016.22
7.2.250.0110.00714.96
7.2.240.0090.00914.64
7.2.230.0030.00914.91
7.2.220.0080.00815.06
7.2.210.0100.00714.69
7.2.200.0080.00414.88
7.2.190.0110.00614.93
7.2.180.0060.00314.62
7.2.170.0000.01415.01
7.2.00.0030.01219.30
7.1.330.0030.00915.93
7.1.320.0090.00615.59
7.1.310.0070.01015.58
7.1.300.0070.00715.56
7.1.290.0070.01015.54
7.1.280.0040.00415.72
7.1.270.0060.00915.66
7.1.260.0000.01315.71
7.1.200.0060.00315.71
7.1.100.0000.01117.66
7.1.70.0030.00616.76
7.1.60.0040.01419.40
7.1.50.0040.01216.89
7.1.00.0030.07022.33
7.0.200.0280.00314.54
7.0.140.0000.07721.96
7.0.120.0070.06022.04
7.0.60.0030.07319.91
7.0.50.0000.04317.87
7.0.40.0170.07720.18
7.0.30.0270.08320.26
7.0.20.0400.07320.06
7.0.10.0030.04320.11
7.0.00.0000.07020.24
5.6.280.0070.06721.09
5.6.210.0030.05020.46
5.6.200.0130.07318.27
5.6.190.0170.07320.39
5.6.180.0530.07020.64
5.6.170.0200.04020.45
5.6.160.0070.07720.54
5.6.150.0070.03318.29
5.6.140.0030.04018.18
5.6.130.0170.07718.24
5.6.120.0070.05721.00
5.6.110.0130.06721.13
5.6.100.0130.08021.08
5.6.90.0000.04320.96
5.6.80.0070.07720.40
5.5.350.4170.04720.44
5.5.340.0030.06317.97
5.5.330.0070.06720.57
5.5.320.0070.04720.27
5.5.310.0300.07020.19
5.5.300.0130.07717.91
5.5.290.0100.07717.94
5.5.280.0000.04720.77
5.5.270.0100.03320.72
5.5.260.0070.04320.96
5.5.250.0100.06720.68
5.5.240.0130.05320.22
5.4.450.3300.04319.47
5.4.440.3130.04319.57
5.4.430.2470.03719.30
5.4.420.2870.03719.39
5.4.410.2700.03319.19
5.4.400.3330.02719.22
5.4.390.3100.03719.24
5.4.380.2930.03719.31
5.4.370.2900.03718.95
5.4.360.2700.03719.06
5.4.350.2930.03318.85
5.4.340.3270.04319.08
5.4.320.0030.04019.06
5.4.310.0270.02719.31
5.4.300.3030.03018.85
5.4.290.2970.03719.18
5.4.280.3300.04719.23
5.4.270.3130.04719.24
5.4.260.3270.04319.13
5.4.250.3500.04019.02
5.4.240.3170.04018.98
5.4.230.3430.03319.05
5.4.220.3170.03318.99
5.4.210.3100.03319.23
5.4.200.2230.04019.23
5.4.190.0030.05719.23
5.4.180.3000.03719.21
5.4.170.3470.03719.12
5.4.160.3170.03019.29
5.4.150.3870.03719.11
5.4.140.3330.03716.46
5.4.130.3400.03716.33
5.4.120.3400.03716.33
5.4.110.3830.03716.47
5.4.100.3300.03716.41
5.4.90.3230.04016.45
5.4.80.3270.04016.25
5.4.70.3070.03016.24
5.4.60.3170.03316.16
5.4.50.3270.03716.48
5.4.40.3870.03716.43
5.4.30.3270.03316.52
5.4.20.3870.03316.23
5.4.10.3630.04316.38
5.4.00.5100.02715.80
5.3.290.0030.08314.63
5.3.280.3130.04014.49
5.3.270.3400.03314.52
5.3.260.3530.04014.68
5.3.250.3130.06014.50
5.3.240.3170.03714.52
5.3.230.3400.03714.46
5.3.220.3530.03314.67
5.3.210.3730.03314.54
5.3.200.3470.03314.68
5.3.190.3300.03714.53
5.3.180.4130.03714.54
5.3.170.3030.03314.63
5.3.160.3200.03714.78
5.3.150.3200.03714.48
5.3.140.3170.03314.71
5.3.130.3330.04014.62
5.3.120.4000.04314.45
5.3.110.3600.03714.46
5.3.100.3970.03314.25
5.3.90.3970.04013.93
5.3.80.3930.04013.94
5.3.70.4070.02713.93
5.3.60.4000.03713.92
5.3.50.3300.03714.02
5.3.40.3330.03713.91
5.3.30.3400.04013.83
5.3.20.3470.03713.77
5.3.10.4030.03313.58
5.3.00.3870.04013.64
5.2.170.2830.03311.11
5.2.160.2700.02711.07
5.2.150.2630.03011.30
5.2.140.3100.03711.21
5.2.130.2500.02711.00
5.2.120.3300.03311.19
5.2.110.3330.03011.18
5.2.100.3470.02311.25
5.2.90.3370.03011.12
5.2.80.3070.03011.14
5.2.70.3070.03011.02
5.2.60.3500.02710.96
5.2.50.2570.03010.93
5.2.40.2400.03010.89
5.2.30.2400.02710.93
5.2.20.2430.02311.05
5.2.10.2700.03710.93
5.2.00.2470.02310.63
5.1.60.2000.0379.87
5.1.50.2330.02710.01
5.1.40.2130.02310.09
5.1.30.2130.02310.37
5.1.20.2130.03010.31
5.1.10.1770.03010.04
5.1.00.2100.02710.04
5.0.50.1030.0208.52
5.0.40.0570.0208.38
5.0.30.0730.0308.35
5.0.20.0600.0208.35
5.0.10.1070.0178.35
5.0.00.0630.0308.35
4.4.90.1570.0138.34
4.4.80.1370.0178.34
4.4.70.1370.0178.34
4.4.60.1400.0208.34
4.4.50.1270.0138.35
4.4.40.1300.0308.35
4.4.30.0870.0178.35
4.4.20.1030.0178.35
4.4.10.1030.0138.35
4.4.00.1030.0238.35
4.3.110.0900.0138.35
4.3.100.1200.0208.35
4.3.90.1030.0178.35
4.3.80.0770.0238.35
4.3.70.0930.0138.35
4.3.60.0830.0138.35
4.3.50.0870.0138.35
4.3.40.1130.0208.35
4.3.30.0400.0178.35
4.3.20.0270.0138.35
4.3.10.0530.0138.35
4.3.00.0430.0178.35

preferences:
57.41 ms | 401 KiB | 5 Q