3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checkboxes = [ [ 'tnid' => 45, 'Name' => 'Financial Tips', 'Email' => [], 'Href' => 'http://amt-ars-d.sevenverbs.com/api/v1/emailtemplategroups/5', ], [ 'tnid' => 42, 'Name' => 'Products', 'Email' => [], 'Href' => 'http://amt-ars-d.sevenverbs.com/api/v1/emailtemplategroups/2', ], [ 'tnid' => 44, 'Name' => 'Health Tips', 'Email' => [], 'Href' => 'http://amt-ars-d.sevenverbs.com/api/v1/emailtemplategroups/4', ], [ 'tnid' => 43, 'Name' => 'Personal Events', 'Email' => [], 'Href' => 'http://amt-ars-d.sevenverbs.com/api/v1/emailtemplategroups/3', ], [ 'tnid' => 41, 'Name' => 'Calendar', 'Email' => [], 'Href' => 'http://amt-ars-d.sevenverbs.com/api/v1/emailtemplategroups/1', ], ]; $selected = [ [ 'emarketid' => 77, 'agentid' => 81, 'customerid' => 16901, 'Seltemgr' => 'Calendar', 'seltemname' => '', ], [ 'emarketid' => 78, 'agentid' => 81, 'customerid' => 16901, 'Seltemgr' => 'Financial Tips', 'seltemname' => '', ], [ 'emarketid' => 79, 'agentid' => 81, 'customerid' => 16901, 'Seltemgr' => 'Merry Christmas', 'seltemname' => '', ], [ 'emarketid' => 80, 'agentid' => 81, 'customerid' => 16901, 'Seltemgr' => 'Drip financial tip 3', 'seltemname' => '', ], ]; var_export( array_map( fn($row) => $row + ['found' => array_any($selected, fn($selRow) => $row['Name'] == $selRow['Seltemgr'])], $checkboxes ) );

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.120.0160.00521.96
8.4.110.0110.00819.00
8.4.100.0120.00917.83
8.4.90.0130.00818.63
8.4.80.0100.01119.48
8.4.70.0130.00517.93
8.4.60.0160.00617.66
8.4.50.0130.00720.64
8.4.40.0130.00617.65
8.4.30.0030.01619.05
8.4.20.0130.01021.03
8.4.10.0370.01317.74
8.3.250.0100.00919.00
8.3.240.0100.00516.61
8.3.230.0110.00816.53
8.3.220.0060.00217.38
8.3.210.0120.00816.52
8.3.200.0040.00416.45
8.3.190.0120.00917.05
8.3.180.0120.00718.66
8.3.170.0060.01217.13
8.3.160.0150.00318.19
8.3.150.0150.00416.91
8.3.140.0440.00316.28
8.3.130.0420.00016.49
8.3.120.0370.00716.68
8.3.110.0340.00716.70
8.3.100.0370.00916.31
8.3.90.0410.00716.45
8.3.80.0350.01216.59
8.3.70.0430.00416.45
8.3.60.0400.00616.53
8.3.50.0360.01116.76
8.3.40.0360.00317.29
8.3.30.0350.01317.58
8.3.20.0460.01117.51
8.3.10.0400.00617.77
8.3.00.0170.01017.56
8.2.290.0050.00620.64
8.2.280.0050.00318.46
8.2.270.0110.00716.79
8.2.260.0230.01516.65
8.2.250.0330.00716.63
8.2.240.0320.00816.71
8.2.230.0270.01316.67
8.2.220.0290.01016.48
8.2.210.0330.00616.41
8.2.200.0290.01016.31
8.2.190.0330.00716.65
8.2.180.0320.00616.63
8.2.170.0310.00917.88
8.2.160.0330.00817.53
8.2.150.0350.00717.49
8.2.140.0380.00717.40
8.2.130.0290.01617.50
8.2.120.0350.00817.37
8.2.110.0420.01317.39
8.2.100.0330.00717.58
8.2.90.0190.01617.56
8.2.80.0320.00717.50
8.2.70.0330.00717.47
8.2.60.0350.00717.56
8.2.50.0270.01517.17
8.2.40.0230.01017.41
8.2.30.0310.00417.57
8.2.20.0300.00417.36
8.2.10.0250.01217.42
8.2.00.0310.00717.49
8.1.320.0110.00918.08

preferences:
38.99 ms | 403 KiB | 5 Q