3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 0 => (object)(array( 'custom_search_emp_id_11' => 'flag_emp_id_11', 'custom_search' => 'flag_emp_id_11', 'eti_id' => 1, 'time' => '1:00', 'emp_id' => 11 )), 1 => (object)(array( 'custom_search_emp_id_22' => 'flag_emp_id_22', 'custom_search' => 'flag_emp_id_22', 'eti_id' => 4, 'time' => '1:00', 'emp_id' => 22 )), 2 => (object)(array( 'custom_search_emp_id_33' => 'flag_emp_id_33', 'custom_search' => 'flag_emp_id_33', 'eti_id' => 5, 'time' => '1:00', 'emp_id' => 33 )), 3 => (object)(array( 'custom_search_emp_id_11' => 'flag_emp_id_11', 'custom_search' => 'flag_emp_id_11', 'eti_id' => 1, 'time' => '1:00', 'emp_id' => 11 )) ); $filtered_array = array_filter($array, function ($v) { return isset($v->custom_search_emp_id_11); }); print_r($filtered_array);

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.5.10.0110.00716.95
8.5.00.0120.01020.04
8.4.150.0030.00014.05
8.4.140.0110.00917.49
8.4.130.0070.00620.33
8.4.120.0130.01024.10
8.4.110.0110.00922.51
8.4.100.0130.00917.95
8.4.90.0120.00818.70
8.4.80.0140.00517.78
8.4.70.0100.01018.02
8.4.60.0050.00318.93
8.4.50.0130.00719.43
8.4.40.0160.00319.45
8.4.30.0090.00920.32
8.4.20.0090.01220.45
8.4.10.0060.00319.45
8.3.280.0130.00718.63
8.3.270.0130.00716.90
8.3.260.0120.00716.80
8.3.250.0110.00818.85
8.3.240.0110.01017.13
8.3.230.0130.00716.61
8.3.220.0050.00317.05
8.3.210.0100.00918.63
8.3.200.0060.00316.96
8.3.190.0130.00717.09
8.3.180.0110.00816.89
8.3.170.0150.00316.59
8.3.160.0100.00717.09
8.3.150.0040.01517.18
8.3.140.0090.00017.14
8.3.130.0090.00018.46
8.3.120.0110.00019.11
8.3.110.0040.00420.94
8.3.100.0030.00624.06
8.3.90.0060.00326.77
8.3.80.0060.00317.97
8.3.70.0070.00716.75
8.3.60.0130.00318.43
8.3.50.0070.00617.56
8.3.40.0060.00918.92
8.3.30.0070.01118.83
8.3.20.0050.00321.77
8.3.10.0040.00420.48
8.3.00.0040.00419.26
8.2.290.0050.00520.46
8.2.280.0130.00520.11
8.2.270.0120.00616.86
8.2.260.0040.00420.44
8.2.250.0000.00820.77
8.2.240.0030.01019.07
8.2.230.0030.00622.58
8.2.220.0030.00737.54
8.2.210.0080.00026.77
8.2.200.0030.00618.29
8.2.190.0110.00318.34
8.2.180.0090.00618.36
8.2.170.0140.00022.96
8.2.160.0090.00619.46
8.2.150.0020.00524.18
8.2.140.0060.00324.66
8.2.130.0050.00319.89
8.2.120.0040.00426.35
8.2.110.0090.00020.95
8.2.100.0120.00018.03
8.2.90.0050.00318.02
8.2.80.0030.00617.97
8.2.70.0040.00418.05
8.2.60.0030.00518.16
8.2.50.0030.00618.10
8.2.40.0040.00419.48
8.2.30.0040.00419.38
8.2.20.0000.00818.20
8.2.10.0000.00819.56
8.2.00.0040.00418.06
8.1.330.0110.00822.31
8.1.320.0120.00616.07
8.1.310.0050.00316.66
8.1.300.0090.00018.41
8.1.290.0040.00430.84
8.1.280.0140.00025.92
8.1.270.0120.00322.07
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.00323.82
8.1.230.0060.00620.90
8.1.220.0080.00017.78
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0030.00517.36
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0040.00418.92
8.1.150.0030.00518.91
8.1.140.0000.00720.33
8.1.130.0050.00220.20
8.1.120.0030.00617.38
8.1.110.0000.00817.51
8.1.100.0040.00417.48
8.1.90.0050.00317.48
8.1.80.0000.00717.38
8.1.70.0000.00717.45
8.1.60.0040.00417.61
8.1.50.0000.00717.43
8.1.40.0030.00517.43
8.1.30.0000.00817.61
8.1.20.0070.00317.68
8.1.10.0000.00917.46
8.1.00.0040.00417.56
8.0.300.0070.00019.63
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0030.00316.79
8.0.260.0030.00318.30
8.0.250.0060.00317.00
8.0.240.0000.00816.95
8.0.230.0060.00316.83
8.0.220.0070.00016.77
8.0.210.0040.00416.89
8.0.200.0040.00416.93
8.0.190.0030.00316.91
8.0.180.0000.00717.04
8.0.170.0080.00016.86
8.0.160.0090.00016.98
8.0.150.0050.00516.94
8.0.140.0060.00316.90
8.0.130.0030.00313.38
8.0.120.0000.00816.95
8.0.110.0080.00016.91
8.0.100.0070.00017.02
8.0.90.0080.00016.87
8.0.80.0090.00616.98
8.0.70.0070.00316.84
8.0.60.0000.00717.03
8.0.50.0040.00416.96
8.0.30.0090.01016.88
8.0.20.0170.00717.40
8.0.10.0000.00816.93
8.0.00.0100.01116.72
7.4.330.0050.00015.55
7.4.320.0000.00716.44
7.4.300.0030.00316.48
7.4.290.0030.00316.65
7.4.280.0050.00316.50
7.4.270.0040.00416.61
7.4.260.0040.00416.51
7.4.250.0000.00816.49
7.4.240.0000.00716.46
7.4.230.0080.00016.63
7.4.220.0050.00216.50
7.4.210.0080.00716.56
7.4.200.0040.00416.58
7.4.160.0080.01116.48
7.4.140.0080.01017.86
7.4.130.0110.00516.42
7.4.120.0120.00916.51
7.4.110.0070.01316.63
7.4.100.0030.01316.56
7.4.90.0130.00316.65
7.4.80.0100.00719.39
7.4.70.0120.00716.51
7.4.60.0060.01116.58
7.4.50.0070.01116.45
7.4.40.0100.00716.63
7.4.00.0090.00715.08
7.3.330.0000.00513.23
7.3.320.0000.00613.30
7.3.310.0000.00716.16
7.3.300.0070.00016.30
7.3.290.0030.00316.35
7.3.280.0040.01216.27
7.3.260.0100.01016.34
7.3.240.0070.01416.32
7.3.230.0060.01216.11
7.3.210.0070.01016.61
7.3.200.0110.00816.34
7.3.190.0100.01016.36
7.3.180.0060.00916.46
7.3.170.0060.01616.50
7.3.160.0100.00716.30
7.3.120.0050.01314.95
7.3.110.0080.00814.58
7.3.100.0060.00614.62
7.3.90.0060.01014.71
7.3.80.0020.01214.71
7.3.70.0060.00714.59
7.3.60.0080.00414.85
7.3.50.0070.00814.62
7.3.40.0080.00814.62
7.3.30.0050.00914.65
7.3.20.0310.00615.64
7.3.10.0230.00615.92
7.3.00.0250.00515.97
7.2.330.0140.00316.77
7.2.320.0120.00916.65
7.2.310.0060.00916.75
7.2.300.0060.01116.65
7.2.290.0150.00716.66
7.2.250.0040.01415.06
7.2.240.0040.01315.04
7.2.230.0040.01115.00
7.2.220.0080.00514.87
7.2.210.0070.00715.08
7.2.200.0090.00814.99
7.2.190.0050.01015.08
7.2.180.0070.00915.07
7.2.170.0080.00615.08
7.2.160.0040.00714.91
7.2.150.0360.00815.85
7.2.140.0360.00516.01
7.2.130.0380.01016.03
7.2.120.0350.00515.76
7.2.110.0390.00615.92
7.2.100.0880.01015.94
7.2.90.0320.00716.00
7.2.80.0440.00215.84
7.2.70.0300.00715.93
7.2.60.0350.00415.85
7.2.50.0350.00315.92
7.2.40.0340.00515.89
7.2.30.0350.01015.91
7.2.20.0310.00815.59
7.2.10.0260.01015.60
7.2.00.0290.00815.81
7.1.330.0050.01015.83
7.1.320.0060.00515.55
7.1.310.0060.01115.79
7.1.300.0100.00415.60
7.1.290.0040.01315.51
7.1.280.0030.01015.83
7.1.270.0100.00315.75
7.1.260.0030.00815.72
7.1.250.0330.00614.61

preferences:
169.34 ms | 403 KiB | 5 Q