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(" Go"); 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.0100.00718.41
8.3.50.0120.01121.02
8.3.40.0170.00018.70
8.3.30.0100.00320.34
8.3.20.0080.00020.18
8.3.10.0080.00021.92
8.3.00.0080.00022.18
8.2.180.0150.00616.50
8.2.170.0220.00022.96
8.2.160.0100.00320.29
8.2.150.0040.00424.18
8.2.140.0070.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00019.66
8.2.110.0000.00822.21
8.2.100.0070.00419.21
8.2.90.0000.00719.03
8.2.80.0050.00319.21
8.2.70.0000.00917.63
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0030.00618.16
8.2.30.0070.00017.95
8.2.20.0000.00717.54
8.2.10.0030.00517.63
8.2.00.0080.00017.68
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.89
8.1.230.0100.00019.17
8.1.220.0060.00317.77
8.1.210.0040.00818.77
8.1.200.0030.00717.35
8.1.190.0030.00617.50
8.1.180.0080.00020.24
8.1.170.0030.00718.54
8.1.160.0050.00322.07
8.1.150.0030.00618.65
8.1.140.0040.00417.37
8.1.130.0040.00417.87
8.1.120.0000.00717.43
8.1.110.0000.00717.38
8.1.100.0070.00017.51
8.1.90.0000.00817.37
8.1.80.0000.00717.48
8.1.70.0030.00317.32
8.1.60.0040.00417.62
8.1.50.0040.00417.39
8.1.40.0000.00817.45
8.1.30.0000.00717.50
8.1.20.0050.00317.68
8.1.10.0040.00417.56
8.1.00.0020.00517.37
8.0.300.0030.00318.77
8.0.290.0070.00017.05
8.0.280.0070.00018.51
8.0.270.0030.00317.31
8.0.260.0030.00316.68
8.0.250.0000.00717.01
8.0.240.0000.00716.91
8.0.230.0030.00317.00
8.0.220.0030.00316.88
8.0.210.0070.00016.89
8.0.200.0000.00616.98
8.0.190.0040.00416.87
8.0.180.0040.00416.89
8.0.170.0080.00016.82
8.0.160.0030.00316.90
8.0.150.0070.00016.76
8.0.140.0000.00716.89
8.0.130.0000.00613.25
8.0.120.0050.00316.76
8.0.110.0040.00416.93
8.0.100.0000.00716.80
8.0.90.0000.00716.86
8.0.80.0080.00816.89
8.0.70.0040.00416.87
8.0.60.0050.00316.68
8.0.50.0000.00716.84
8.0.30.0120.00716.93
8.0.20.0070.01117.40
8.0.10.0000.00716.88
8.0.00.0050.01116.82
7.4.330.0050.00015.00
7.4.320.0060.00016.61
7.4.300.0040.00416.51
7.4.290.0030.00316.40
7.4.280.0080.00016.51
7.4.270.0000.00716.50
7.4.260.0000.00716.47
7.4.250.0030.00516.56
7.4.240.0030.00316.49
7.4.230.0040.00416.70
7.4.220.0160.00316.43
7.4.210.0090.00816.63
7.4.200.0060.00016.49
7.4.190.0040.00416.66
7.4.160.0090.00616.52
7.4.150.0030.01317.40
7.4.140.0100.01217.86
7.4.130.0100.00716.43
7.4.120.0080.01016.57
7.4.110.0150.00616.41
7.4.100.0080.00816.64
7.4.90.0070.01416.48
7.4.80.0090.01219.39
7.4.70.0060.01516.55
7.4.60.0060.01116.34
7.4.50.0050.00316.34
7.4.40.0030.01222.77
7.4.30.0140.00416.50
7.4.00.0070.01015.16
7.3.330.0050.00013.21
7.3.320.0020.00213.32
7.3.310.0000.00716.20
7.3.300.0040.00416.16
7.3.290.0110.00316.32
7.3.280.0050.01116.32
7.3.270.0070.01017.40
7.3.260.0100.01016.57
7.3.250.0100.00716.37
7.3.240.0110.00816.67
7.3.230.0090.01316.39
7.3.210.0100.01316.44
7.3.200.0090.00919.39
7.3.190.0100.00716.49
7.3.180.0130.00316.52
7.3.170.0060.01016.38
7.3.160.0090.00616.56
7.3.120.0080.00614.91
7.2.330.0140.00616.48
7.2.320.0140.00716.72
7.2.310.0060.01216.73
7.2.300.0090.00916.75
7.2.290.0070.01116.49
7.2.00.0000.01219.28
7.1.100.0000.00818.20
7.1.70.0030.00517.13
7.1.60.0030.02119.21
7.1.50.0030.00716.87
7.1.00.0030.05722.57
7.0.200.0150.00714.69
7.0.140.0000.07721.99
7.0.60.0030.05019.94
7.0.50.0070.03717.85
7.0.40.0030.09020.18
7.0.30.0270.07720.34
7.0.20.0300.07020.09
7.0.10.0400.03720.14
7.0.00.0030.08720.09
5.6.280.0030.06721.01
5.6.210.0070.04020.65
5.6.200.0100.08018.16
5.6.190.0170.06320.45
5.6.180.0170.05020.77
5.6.170.0270.04320.58
5.6.160.0130.07720.57
5.6.150.0030.08018.14
5.6.140.0000.04718.15
5.6.130.0100.07718.19
5.6.120.0070.08320.97
5.6.110.0070.04021.03
5.6.100.0030.07321.04
5.6.90.0200.07321.02
5.6.80.0100.06720.43
5.6.70.0200.04020.35
5.5.350.0030.07320.43
5.5.340.0030.08318.09
5.5.330.0070.08320.25
5.5.320.0200.08320.27
5.5.310.0200.04720.35
5.5.300.0070.05717.97
5.5.290.0070.05018.07
5.5.280.0100.08020.87
5.5.270.0000.05020.87
5.5.260.0070.03720.68
5.5.250.0070.08020.50
5.5.240.0100.07720.29
5.4.450.0000.06719.61
5.4.440.0900.05319.47
5.4.430.0670.06319.70
5.4.420.0730.06019.47
5.4.410.0670.06019.50
5.4.400.0370.05718.90
5.4.390.0330.05318.77
5.4.380.0230.05018.53
5.4.370.0130.05318.82
5.4.360.0130.05318.46
5.4.350.0100.04512.02
5.4.340.0090.04412.01
5.4.320.0040.04112.51
5.4.310.0060.03912.50
5.4.300.0070.03412.50
5.4.290.0080.03512.50
5.4.280.0070.03512.40
5.4.270.0060.04412.40
5.4.260.0040.04412.40
5.4.250.0070.05718.93
5.4.240.0100.06318.93
5.4.230.0170.04318.74
5.4.220.0170.04318.89
5.4.210.0130.04718.95
5.4.200.0270.05018.89
5.4.190.0100.05719.07
5.4.180.0030.06018.72
5.4.170.0100.06318.77
5.4.160.0000.06318.83
5.4.150.0070.05319.06
5.4.140.0030.06016.40
5.4.130.0030.05316.56
5.4.120.0130.04716.53
5.4.110.0030.05316.38
5.4.100.0030.05316.64
5.4.90.0070.04716.31
5.4.80.0070.04716.52
5.4.70.0070.07016.30
5.4.60.0000.05316.43
5.4.50.0070.04716.51
5.4.40.0200.05716.43
5.4.30.0000.06316.35
5.4.20.0100.04316.60
5.4.10.0030.05316.48
5.4.00.0030.05315.74
5.3.290.0100.04112.80
5.3.280.0100.07014.42
5.3.270.0030.06014.43
5.3.260.0070.05314.59
5.3.250.0100.05014.68
5.3.240.0170.05314.82
5.3.230.0130.04714.50
5.3.220.0070.06314.55
5.3.210.0030.05714.65
5.3.200.0030.05714.73
5.3.190.0100.05314.47
5.3.180.0070.05014.39
5.3.170.0100.05014.54
5.3.160.0030.05714.64
5.3.150.0030.05714.64
5.3.140.0070.05014.62
5.3.130.0030.08314.53
5.3.120.0100.05314.63
5.3.110.0000.06014.56
5.3.100.0030.05014.12
5.3.90.0030.05014.00
5.3.80.0230.05014.00
5.3.70.0070.06314.00
5.3.60.0000.05313.96
5.3.50.0100.04713.95
5.3.40.0070.05013.93
5.3.30.0000.05313.91
5.3.20.0070.04713.77
5.3.10.0070.04713.71
5.3.00.0030.05013.80
5.2.170.0070.04010.97
5.2.160.0100.05011.13
5.2.150.0100.03711.05
5.2.140.0100.03711.04
5.2.130.0030.04011.10
5.2.120.0000.04310.94
5.2.110.0000.04311.00
5.2.100.0070.04011.19
5.2.90.0000.04311.06
5.2.80.0070.04011.07
5.2.70.0100.03711.18
5.2.60.0000.05311.14
5.2.50.0030.04311.09
5.2.40.0100.03711.08
5.2.30.0130.04311.05
5.2.20.0030.04311.12
5.2.10.0030.04311.04
5.2.00.0070.03710.69
5.1.60.0070.0379.85
5.1.50.0130.02710.10
5.1.40.0000.0379.98
5.1.30.0070.03710.32
5.1.20.0000.04010.33
5.1.10.0030.03710.07
5.1.00.0030.0379.91
5.0.50.0000.0478.78
5.0.40.0070.0278.50
5.0.30.0030.0608.37
5.0.20.0030.0278.16
5.0.10.0100.0278.15
5.0.00.0030.0578.12
4.4.90.0000.0277.07
4.4.80.0000.0237.07
4.4.70.0030.0277.39
4.4.60.0000.0277.39
4.4.50.0070.0177.39
4.4.40.0070.0307.39
4.4.30.0030.0207.39
4.4.20.0030.0277.39
4.4.10.0070.0277.39
4.4.00.0030.0337.39
4.3.110.0000.0337.39
4.3.100.0000.0237.39
4.3.90.0000.0237.39
4.3.80.0000.0337.39
4.3.70.0000.0237.39
4.3.60.0030.0277.39
4.3.50.0070.0307.39
4.3.40.0100.0407.39
4.3.30.0000.0237.39
4.3.20.0030.0277.39
4.3.10.0030.0207.39
4.3.00.0170.0176.61

preferences:
40.44 ms | 401 KiB | 5 Q