3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _arte_cms_tracking_og_are_settings_null($settings) { // If it is an array, browse it: if (is_array($settings)) { if (empty($settings)) { return TRUE; } else { foreach($settings as $value) { if (!_arte_cms_tracking_og_are_settings_null($value)) { return FALSE; } } return TRUE; } } else { $current_trimmed_value = trim($settings); return empty($current_trimmed_value); } } $t = array( 'yo' => array(0), 'ya' => '', ); if (_arte_cms_tracking_og_are_settings_null($t)) { echo "EMPTY"; }else { echo "NOT EMPTY!"; }

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.0070.01018.43
8.3.50.0120.00921.08
8.3.40.0140.00318.89
8.3.30.0130.00020.38
8.3.20.0040.00420.16
8.3.10.0040.00422.10
8.3.00.0050.00522.52
8.2.180.0150.00016.63
8.2.170.0070.00722.96
8.2.160.0070.00720.34
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0000.00719.41
8.2.110.0050.00320.38
8.2.100.0070.00317.72
8.2.90.0040.00419.28
8.2.80.0030.00619.46
8.2.70.0040.00417.49
8.2.60.0000.00917.93
8.2.50.0090.00018.07
8.2.40.0040.00418.00
8.2.30.0050.00218.09
8.2.20.0020.00517.77
8.2.10.0000.00717.67
8.2.00.0000.00817.76
8.1.280.0070.01325.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00423.90
8.1.230.0080.00320.97
8.1.220.0040.00417.79
8.1.210.0030.00518.77
8.1.200.0030.00717.23
8.1.190.0000.00817.28
8.1.180.0000.00720.20
8.1.170.0090.00318.63
8.1.160.0000.00722.03
8.1.150.0040.00418.57
8.1.140.0040.00417.34
8.1.130.0070.00017.85
8.1.120.0040.00417.51
8.1.110.0040.00417.47
8.1.100.0000.00717.49
8.1.90.0040.00417.51
8.1.80.0000.00717.49
8.1.70.0030.00317.46
8.1.60.0040.00417.49
8.1.50.0050.00317.37
8.1.40.0030.00517.54
8.1.30.0000.00717.69
8.1.20.0000.00817.71
8.1.10.0000.00717.56
8.1.00.0000.00717.42
8.0.300.0040.00418.77
8.0.290.0060.00317.05
8.0.280.0070.00018.54
8.0.270.0000.00717.32
8.0.260.0030.00316.84
8.0.250.0000.00716.98
8.0.240.0080.00016.99
8.0.230.0000.00716.95
8.0.220.0000.00716.88
8.0.210.0070.00016.93
8.0.200.0030.00316.84
8.0.190.0030.00516.98
8.0.180.0000.00716.95
8.0.170.0030.00616.89
8.0.160.0000.00716.96
8.0.150.0070.00016.78
8.0.140.0040.00416.88
8.0.130.0000.00613.34
8.0.120.0000.00816.94
8.0.110.0090.00016.77
8.0.100.0070.00016.94
8.0.90.0030.00316.91
8.0.80.0030.01216.86
8.0.70.0020.00517.02
8.0.60.0000.00716.78
8.0.50.0050.00216.72
8.0.30.0080.01217.03
8.0.20.0130.00517.40
8.0.10.0070.00016.99
8.0.00.0090.00916.72
7.4.330.0000.00515.00
7.4.320.0000.00616.46
7.4.300.0030.00316.43
7.4.290.0030.00516.60
7.4.280.0000.00716.47
7.4.270.0040.00416.67
7.4.260.0000.00716.52
7.4.250.0050.00216.49
7.4.240.0070.00016.57
7.4.230.0020.00516.64
7.4.220.0030.01416.72
7.4.210.0090.00716.51
7.4.200.0040.00416.41
7.4.190.0000.00716.71
7.4.160.0100.01316.61
7.4.150.0090.00817.40
7.4.140.0130.00617.86
7.4.130.0070.01116.48
7.4.120.0070.00916.58
7.4.110.0070.01716.52
7.4.100.0140.00316.51
7.4.90.0140.00316.44
7.4.80.0150.01119.39
7.4.70.0030.01616.45
7.4.60.0030.01316.50
7.4.50.0040.00416.56
7.4.40.0160.00022.77
7.4.30.0120.00616.45
7.4.00.0070.01015.02
7.3.330.0000.00513.17
7.3.320.0000.00513.17
7.3.310.0070.00016.32
7.3.300.0070.00016.35
7.3.290.0060.01316.30
7.3.280.0070.00916.31
7.3.270.0160.01017.40
7.3.260.0120.00616.60
7.3.250.0110.00616.46
7.3.240.0060.01016.34
7.3.230.0060.01616.39
7.3.210.0100.00716.32
7.3.200.0080.00819.39
7.3.190.0090.01316.32
7.3.180.0120.00316.59
7.3.170.0150.00016.38
7.3.160.0040.01116.25
7.3.120.0070.01014.95
7.2.330.0110.00816.75
7.2.320.0150.00616.70
7.2.310.0130.00916.85
7.2.300.0140.00316.75
7.2.290.0110.00716.78
7.2.80.0070.00616.75
7.2.00.0090.00319.45
7.1.200.0040.00715.66
7.1.100.0030.01017.93
7.1.70.0030.00617.29
7.1.60.0160.00619.21
7.1.50.0070.01716.63
7.1.00.0100.06322.45
7.0.200.0250.00714.66
7.0.140.0000.07722.12
7.0.60.0070.06720.08
7.0.50.0100.08017.72
7.0.40.0030.06720.24
7.0.30.0270.05020.23
7.0.20.0330.06320.23
7.0.10.0170.06020.09
7.0.00.0030.05720.09
5.6.280.0030.07320.89
5.6.210.0100.07320.53
5.6.200.0030.08018.19
5.6.190.0000.05020.60
5.6.180.0230.08020.58
5.6.170.0230.06020.46
5.6.160.0200.06720.71
5.6.150.0070.04718.12
5.6.140.0030.04018.25
5.6.130.0130.04018.17
5.6.120.0200.07020.98
5.6.110.0070.03720.98
5.6.100.0070.07720.99
5.6.90.0030.08721.11
5.6.80.0100.08020.44
5.6.70.0230.07720.51
5.5.350.0070.05720.34
5.5.340.0130.07717.92
5.5.330.0170.05720.37
5.5.320.0370.06320.31
5.5.310.0230.04720.35
5.5.300.0000.04317.94
5.5.290.0030.08318.10
5.5.280.0000.09320.96
5.5.270.0030.04320.84
5.5.260.0030.04020.76
5.5.250.0070.07320.50
5.5.240.0100.07720.36
5.4.450.0970.05719.48
5.4.440.0800.07319.48
5.4.430.0070.05719.61
5.4.420.0830.05319.58
5.4.410.0870.05719.48
5.4.400.0500.05018.50
5.4.390.0400.05318.48
5.4.380.0270.04718.81
5.4.370.0130.04318.70
5.4.360.0170.04718.63
5.4.350.0070.04112.02
5.4.340.0100.04612.02
5.4.320.0090.03612.50
5.4.310.0040.04512.50
5.4.300.0080.04012.50
5.4.290.0060.04712.50
5.4.280.0050.03612.40
5.4.270.0100.03212.40
5.4.260.0080.03712.40
5.4.250.0170.04718.98
5.4.240.0130.05318.93
5.4.230.0070.07718.96
5.4.220.0130.05318.96
5.4.210.0070.07718.78
5.4.200.0170.06719.08
5.4.190.0130.04318.84
5.4.180.0100.07719.04
5.4.170.0130.05319.00
5.4.160.0130.05318.82
5.4.150.0170.05018.92
5.4.140.0100.04316.39
5.4.130.0100.04716.41
5.4.120.0030.05016.29
5.4.110.0100.05716.32
5.4.100.0070.06716.32
5.4.90.0170.06316.55
5.4.80.0200.04716.41
5.4.70.0070.05016.40
5.4.60.0100.05316.58
5.4.50.0100.04316.33
5.4.40.0200.05716.57
5.4.30.0000.05316.41
5.4.20.0070.07316.34
5.4.10.0070.05016.41
5.4.00.0000.05315.86
5.3.290.0060.04212.80
5.3.280.0070.05314.81
5.3.270.0100.07314.43
5.3.260.0070.05314.43
5.3.250.0100.05714.77
5.3.240.0030.06014.58
5.3.230.0200.03714.57
5.3.220.0000.08014.66
5.3.210.0070.05714.54
5.3.200.0070.06714.58
5.3.190.0100.05314.39
5.3.180.0100.06014.64
5.3.170.0130.04714.72
5.3.160.0000.05714.79
5.3.150.0100.04714.55
5.3.140.0030.07714.52
5.3.130.0130.04714.54
5.3.120.0100.05014.61
5.3.110.0000.05714.73
5.3.100.0030.05714.05
5.3.90.0100.05014.10
5.3.80.0170.05314.23
5.3.70.0100.04714.09
5.3.60.0130.05313.83
5.3.50.0170.06013.95
5.3.40.0030.05713.78
5.3.30.0100.05014.01
5.3.20.0070.04713.66
5.3.10.0100.05713.71
5.3.00.0100.06313.71
5.2.170.0030.06311.23
5.2.160.0070.06011.11
5.2.150.0070.04011.32
5.2.140.0070.05011.12
5.2.130.0000.04311.18
5.2.120.0070.03711.28
5.2.110.0030.04011.07
5.2.100.0030.04311.17
5.2.90.0070.03711.27
5.2.80.0100.03711.07
5.2.70.0100.04011.30
5.2.60.0070.04311.27
5.2.50.0070.03711.18
5.2.40.0030.04011.10
5.2.30.0030.04310.95
5.2.20.0000.06010.91
5.2.10.0070.03710.94
5.2.00.0000.04710.67
5.1.60.0070.03010.20
5.1.50.0070.03010.04
5.1.40.0030.03310.13
5.1.30.0070.03310.30
5.1.20.0100.03310.35
5.1.10.0030.03710.05
5.1.00.0000.04010.07
5.0.50.0030.0308.69
5.0.40.0030.0408.50
5.0.30.0030.0408.19
5.0.20.0030.0278.34
5.0.10.0100.0238.37
5.0.00.0030.0578.20
4.4.90.0030.0206.39
4.4.80.0070.0176.39
4.4.70.0070.0176.39
4.4.60.0030.0206.39
4.4.50.0030.0276.39
4.4.40.0030.0476.39
4.4.30.0030.0206.39
4.4.20.0000.0276.39
4.4.10.0000.0236.39
4.4.00.0000.0436.39
4.3.110.0030.0306.39
4.3.100.0030.0206.39
4.3.90.0170.0176.39
4.3.80.0030.0436.39
4.3.70.0070.0206.39
4.3.60.0030.0206.39
4.3.50.0000.0336.39
4.3.40.0070.0306.39
4.3.30.0030.0276.39
4.3.20.0000.0306.39
4.3.10.0000.0236.39
4.3.00.0000.0236.61

preferences:
41.82 ms | 401 KiB | 5 Q