3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accessible = array('title', 'description', 'category_ids'); $attributes = array('id', 'title' => 'Pippo', 'description' => 'Lollo', 'permalink', 'author_id', 'category_ids' => array('ciao', 'come', 'va'), 'pippo'); print_r(array_intersect_key($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.4.20.0170.00317.81
8.4.10.0040.00419.74
8.3.150.0150.00418.08
8.3.140.0040.00419.04
8.3.130.0120.00918.41
8.3.120.0100.00020.47
8.3.110.0040.00416.43
8.3.100.0000.00918.58
8.3.90.0040.00426.77
8.3.80.0030.00716.63
8.3.70.0090.00616.63
8.3.60.0180.00318.43
8.3.50.0110.01121.92
8.3.40.0120.00318.61
8.3.30.0070.01018.54
8.3.20.0080.00018.63
8.3.10.0030.00520.41
8.3.00.0110.00017.50
8.2.270.0070.01117.09
8.2.260.0030.00616.49
8.2.250.0050.00316.46
8.2.240.0040.00418.77
8.2.230.0090.00020.94
8.2.220.0060.01224.06
8.2.210.0000.00726.77
8.2.200.0040.00418.23
8.2.190.0070.00716.58
8.2.180.0110.00718.41
8.2.170.0150.00022.96
8.2.160.0070.00722.25
8.2.150.0040.01124.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00019.95
8.2.110.0030.00620.44
8.2.100.0110.00017.72
8.2.90.0000.00719.09
8.2.80.0040.00417.97
8.2.70.0050.00317.35
8.2.60.0040.00417.92
8.2.50.0040.00418.07
8.2.40.0040.00418.03
8.2.30.0050.00219.84
8.2.20.0020.00517.66
8.2.10.0000.00717.63
8.2.00.0030.00517.50
8.1.310.0080.00018.62
8.1.300.0090.00918.20
8.1.290.0110.00030.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0130.00922.05
8.1.230.0040.00723.83
8.1.220.0050.00318.77
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00517.40
8.1.180.0040.00418.10
8.1.170.0000.00718.84
8.1.160.0050.00318.75
8.1.150.0040.00418.50
8.1.140.0000.00817.31
8.1.130.0000.00717.69
8.1.120.0030.00517.35
8.1.110.0040.00417.45
8.1.100.0040.00417.36
8.1.90.0040.00417.41
8.1.80.0030.00417.35
8.1.70.0070.00017.41
8.1.60.0040.00417.36
8.1.50.0040.00417.40
8.1.40.0080.00017.49
8.1.30.0040.00417.62
8.1.20.0040.00417.59
8.1.10.0000.00817.46
8.1.00.0000.00817.50
8.0.300.0040.00419.91
8.0.290.0000.00716.63
8.0.280.0030.00318.32
8.0.270.0030.00317.25
8.0.260.0080.00016.89
8.0.250.0070.00016.89
8.0.240.0040.00716.89
8.0.230.0000.00817.00
8.0.220.0000.00716.86
8.0.210.0070.00016.90
8.0.200.0030.00317.00
8.0.190.0030.00616.98
8.0.180.0000.00716.92
8.0.170.0040.00416.85
8.0.160.0000.00716.82
8.0.150.0040.00416.80
8.0.140.0070.00016.72
8.0.130.0030.00313.28
8.0.120.0040.00416.90
8.0.110.0000.00716.75
8.0.100.0000.00716.94
8.0.90.0050.00316.94
8.0.80.0000.01716.89
8.0.70.0000.00716.68
8.0.60.0040.00416.74
8.0.50.0080.00016.96
8.0.30.0120.01217.20
8.0.20.0130.00617.40
8.0.10.0050.00217.02
8.0.00.0080.01116.82
7.4.330.0020.00214.67
7.4.320.0000.00616.53
7.4.300.0000.00616.50
7.4.290.0030.00316.57
7.4.280.0000.00816.34
7.4.270.0000.00816.46
7.4.260.0000.00613.20
7.4.250.0000.00716.53
7.4.240.0000.00716.52
7.4.230.0030.00316.52
7.4.220.0060.01216.50
7.4.210.0090.00716.51
7.4.200.0000.00716.64
7.4.190.0050.00216.68
7.4.160.0120.00416.24
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0100.00716.49
7.4.120.0110.00716.34
7.4.110.0120.00616.40
7.4.100.0070.01016.51
7.4.90.0170.00016.24
7.4.80.0030.01319.03
7.4.70.0030.01416.37
7.4.60.0030.01316.30
7.4.50.0000.00416.57
7.4.40.0030.01022.27
7.4.30.0000.01816.46
7.4.10.0060.01214.71
7.4.00.0080.00914.72
7.3.330.0000.00613.09
7.3.320.0060.00013.05
7.3.310.0030.00316.20
7.3.300.0000.00716.05
7.3.290.0000.01316.24
7.3.280.0080.00816.20
7.3.270.0100.00717.40
7.3.260.0140.00618.24
7.3.250.0120.00616.26
7.3.240.0040.01216.14
7.3.230.0090.00616.39
7.3.210.0130.00316.17
7.3.200.0040.01319.39
7.3.190.0030.01816.30
7.3.180.0090.00916.35
7.3.170.0030.01316.31
7.3.160.0100.00616.46
7.3.130.0120.00614.71
7.3.120.0050.01014.73
7.3.110.0030.01614.50
7.3.100.0090.00614.92
7.3.90.0110.00714.75
7.3.80.0030.01214.85
7.3.70.0120.00014.49
7.3.60.0040.01214.73
7.3.50.0070.00714.76
7.3.40.0030.01014.84
7.3.30.0110.00414.75
7.3.20.0080.00616.54
7.3.10.0060.00916.41
7.3.00.0070.00416.40
7.2.330.0060.01116.14
7.2.320.0140.00316.39
7.2.310.0100.01316.22
7.2.300.0150.00616.62
7.2.290.0000.01816.39
7.2.260.0030.01414.59
7.2.250.0040.01414.95
7.2.240.0030.00914.77
7.2.230.0060.01115.04
7.2.220.0060.01014.72
7.2.210.0070.00314.83
7.2.200.0060.00814.81
7.2.190.0030.01214.54
7.2.180.0060.00914.92
7.2.170.0060.00314.94
7.2.160.0000.01414.87
7.2.150.0030.01616.53
7.2.140.0030.00716.75
7.2.130.0080.00516.46
7.2.120.0040.00916.42
7.2.110.0050.01116.36
7.2.100.0050.00916.36
7.2.90.0070.00816.54
7.2.80.0070.01016.55
7.2.70.0040.00716.30
7.2.60.0050.01016.57
7.2.50.0080.00516.42
7.2.40.0070.00716.31
7.2.30.0040.01016.54
7.2.20.0090.00716.72
7.2.10.0080.00516.44
7.2.00.0060.00517.50
7.1.330.0030.00915.66
7.1.320.0000.01515.79
7.1.310.0060.00615.73
7.1.300.0090.00615.66
7.1.290.0080.00415.55
7.1.280.0040.00415.70
7.1.270.0090.00615.42
7.1.260.0080.00415.64
7.1.250.0040.00715.35
7.1.240.0030.00815.70
7.1.230.0030.00915.68
7.1.220.0070.01015.82
7.1.210.0130.00015.80
7.1.200.0020.00815.71
7.1.190.0000.01115.87
7.1.180.0060.00615.77
7.1.170.0030.01315.52
7.1.160.0080.00415.63
7.1.150.0000.00915.68
7.1.140.0030.01015.71
7.1.130.0060.00315.55
7.1.120.0000.01315.55
7.1.110.0000.01315.67
7.1.100.0020.00816.93
7.1.90.0050.00515.92
7.1.80.0070.00715.52
7.1.70.0060.00616.41
7.1.60.0130.00517.65
7.1.50.0050.01116.19
7.1.40.0000.01215.74
7.1.30.0000.01415.79
7.1.20.0030.00615.69
7.1.10.0040.01115.64
7.1.00.0020.02219.10
7.0.330.0100.00315.21
7.0.320.0000.01015.09
7.0.310.0070.00715.42
7.0.300.0060.00315.36
7.0.290.0120.00015.42
7.0.280.0000.00915.23
7.0.270.0090.00615.21
7.0.260.0070.00715.33
7.0.250.0070.00715.38
7.0.240.0000.01015.22
7.0.230.0070.00715.33
7.0.220.0060.00915.17
7.0.210.0060.00615.34
7.0.200.0180.00315.07
7.0.190.0060.00615.27
7.0.180.0030.01015.25
7.0.170.0070.00715.18
7.0.160.0000.00815.28
7.0.150.0090.00615.43
7.0.140.0060.03818.81
7.0.130.0060.00315.41
7.0.120.0100.00315.57
7.0.110.0080.00315.30
7.0.100.0060.00615.36
7.0.90.0000.01515.13
7.0.80.0030.00715.57
7.0.70.0030.00515.29
7.0.60.0070.02217.73
7.0.50.0020.02816.71
7.0.40.0070.04216.71
7.0.30.0220.02716.86
7.0.20.0130.03816.79
7.0.10.0050.05016.70
7.0.00.0100.03816.76
5.6.400.0060.00314.20
5.6.390.0030.01113.79
5.6.380.0030.00914.49
5.6.370.0030.01014.44
5.6.360.0160.00013.99
5.6.350.0090.00314.51
5.6.340.0070.00714.11
5.6.330.0000.01013.97
5.6.320.0090.00314.32
5.6.310.0040.01114.29
5.6.300.0070.01014.41
5.6.290.0000.01214.19
5.6.280.0080.03817.49
5.6.270.0090.00314.28
5.6.260.0000.00914.48
5.6.250.0080.00514.17
5.6.240.0000.01514.07
5.6.230.0000.01114.16
5.6.220.0070.00714.32
5.6.210.0080.04617.38
5.6.200.0030.02616.26
5.6.190.0070.04517.14
5.6.180.1620.02717.48
5.6.170.0080.02717.33
5.6.160.0060.03017.18
5.6.150.0080.02816.19
5.6.140.0050.04016.13
5.6.130.0020.04616.21
5.6.120.0050.02717.63
5.6.110.0140.03917.52
5.6.100.0070.04217.64
5.6.90.0110.03517.66
5.6.80.0080.04317.26
5.6.70.2220.02017.35
5.6.60.0110.00314.35
5.6.50.0000.00913.88
5.6.40.0100.00714.11
5.6.30.0040.01113.84
5.6.20.0040.00814.21
5.6.10.0040.00814.16
5.6.00.0060.00914.37
5.5.380.0040.00714.20
5.5.370.0070.00714.03
5.5.360.0030.01014.36
5.5.350.0150.03817.33
5.5.340.0060.03616.10
5.5.330.0130.04217.21
5.5.320.0170.03817.27
5.5.310.0170.04517.27
5.5.300.0130.04016.01
5.5.290.0030.02616.05
5.5.280.0100.02917.39
5.5.270.0070.03317.62
5.5.260.0030.04317.54
5.5.250.0050.04317.28
5.5.240.0190.03217.18
5.5.230.0000.01314.11
5.5.220.0030.00914.18
5.5.210.0030.00614.13
5.5.200.0040.00814.12
5.5.190.0040.01113.73
5.5.180.0060.00914.22
5.5.170.0030.01014.34
5.5.160.0030.01013.79
5.5.150.0060.00613.95
5.5.140.0030.00914.29
5.5.130.0060.00314.09
5.5.120.0000.01413.96
5.5.110.0030.00914.24
5.5.100.0060.00614.07
5.5.90.0030.00913.98
5.5.80.0000.01313.84
5.5.70.0000.01613.86
5.5.60.0140.00414.10
5.5.50.0060.00314.02
5.5.40.0060.00914.05
5.5.30.0120.00314.26
5.5.20.0030.01314.29
5.5.10.0060.00914.19
5.5.00.0030.00714.39
5.4.450.0130.02216.03
5.4.440.0130.03516.18
5.4.430.0160.02816.21
5.4.420.0170.01816.13
5.4.410.0110.02616.04
5.4.400.0180.03716.01
5.4.390.0220.02215.88
5.4.380.0210.02615.83
5.4.370.0150.02016.00
5.4.360.0120.02516.00
5.4.350.0150.02515.92
5.4.340.0170.01815.93
5.4.330.0040.00712.79
5.4.320.0150.03315.83
5.4.310.0170.02516.05
5.4.300.0160.03815.95
5.4.290.0130.03815.92
5.4.280.0170.04015.94
5.4.270.0200.03315.94
5.4.260.0160.03615.87
5.4.250.0170.03016.05
5.4.240.0180.03015.87
5.4.230.0120.02516.00
5.4.220.0210.03515.85
5.4.210.0180.02815.82
5.4.200.0150.02216.00
5.4.190.0120.02615.96
5.4.180.0140.02215.98
5.4.170.0150.02615.92
5.4.160.0180.03716.00
5.4.150.0180.03815.97
5.4.140.0200.03614.57
5.4.130.0130.04114.56
5.4.120.0190.03214.65
5.4.110.0110.02314.62
5.4.100.0170.03814.53
5.4.90.0130.03814.50
5.4.80.0140.02214.57
5.4.70.0150.02414.65
5.4.60.0170.01714.48
5.4.50.0180.01714.52
5.4.40.0100.02914.67
5.4.30.0170.02014.66
5.4.20.0120.02214.60
5.4.10.0190.03414.65
5.4.00.0170.03714.29
5.3.290.0120.02513.83
5.3.280.0170.01713.69
5.3.270.0150.03713.64
5.3.260.0180.03313.70
5.3.250.0130.04213.69
5.3.240.0170.03513.65
5.3.230.0160.01813.67
5.3.220.0120.02313.63
5.3.210.0170.03713.61
5.3.200.0100.02713.64
5.3.190.0130.02713.67
5.3.180.0180.03213.63
5.3.170.0200.03313.78
5.3.160.0160.02113.68
5.3.150.0180.03213.63
5.3.140.0200.03513.68
5.3.130.0180.03813.66
5.3.120.0180.03113.63
5.3.110.0170.02113.63
5.3.100.0180.02313.42
5.3.90.0200.02313.39
5.3.80.0120.04113.51
5.3.70.0130.02313.36
5.3.60.0180.03513.36
5.3.50.0230.03213.31
5.3.40.0180.02513.32
5.3.30.0180.03513.38
5.3.20.0200.02713.20
5.3.10.0180.02513.28
5.3.00.0180.03413.20
5.2.170.0270.05711.63
5.2.160.0200.04011.63
5.2.150.0200.04311.63
5.2.140.0300.05711.63
5.2.130.0270.05311.63
5.2.120.0270.03311.63
5.2.110.0230.03011.63
5.2.100.0200.04011.63
5.2.90.0200.03011.63
5.2.80.0230.02711.63
5.2.70.0270.05711.63
5.2.60.0230.06011.63
5.2.50.0270.03711.63
5.2.40.0170.05711.63
5.2.30.0230.05311.63
5.2.20.0200.04311.63
5.2.10.0200.03711.63
5.2.00.0200.06011.63
5.1.60.0170.03711.63
5.1.50.0170.02711.63
5.1.40.0100.03011.63
5.1.30.0170.02711.63
5.1.20.0130.03011.63
5.1.10.0230.02711.63
5.1.00.0200.05011.63
5.0.50.0130.03711.63
5.0.40.0200.02311.63
5.0.30.0170.05711.63
5.0.20.0100.03011.63
5.0.10.0170.02311.63
5.0.00.0100.06011.63
4.4.90.0070.03311.63
4.4.80.0130.03011.63
4.4.70.0170.03311.63
4.4.60.0130.02711.63
4.4.50.0100.02311.63
4.4.40.0070.02711.63
4.4.30.0070.01711.63
4.4.20.0070.01711.63
4.4.10.0100.02311.63
4.4.00.0130.03711.63
4.3.110.0130.02011.63
4.3.100.0130.02011.63
4.3.90.0100.03311.63
4.3.80.0070.02711.63
4.3.70.0130.03011.63
4.3.60.0070.01711.63
4.3.50.0170.02311.63
4.3.40.0070.03711.63
4.3.30.0030.01711.63
4.3.20.0070.01311.63
4.3.10.0030.03711.63
4.3.00.0030.01711.63

preferences:
29.7 ms | 403 KiB | 5 Q