3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'ticket_number' => 'sdfsdfsdf 2', 'strategy_id' => '5', 'journal_entries_strategy_conditions' => [ 0 => [ 'strategies_condition_id' => '' ], 1 => [ 'strategies_condition_id' => '1' ] ], 'timeframe' => '', ]; $array['journal_entries_strategy_conditions'] = array_filter( $array['journal_entries_strategy_conditions'], fn($v) => $v['strategies_condition_id'] ); var_export($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.3.130.0050.00318.42
8.3.120.0040.00420.96
8.3.110.0130.00616.63
8.3.100.0030.00624.06
8.3.90.0090.00626.77
8.3.80.0060.00317.97
8.3.70.0090.00618.31
8.3.60.0170.00316.50
8.3.50.0150.00616.71
8.3.40.0110.00420.09
8.3.30.0090.00618.86
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.250.0080.00016.48
8.2.240.0030.00717.23
8.2.230.0060.00320.94
8.2.220.0150.00037.54
8.2.210.0030.00526.77
8.2.200.0060.00318.54
8.2.190.0100.00716.63
8.2.180.0070.01418.20
8.2.170.0120.00318.78
8.2.160.0100.00322.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00018.62
8.2.110.0170.00321.18
8.2.100.0090.00317.91
8.2.90.0060.00318.04
8.2.80.0070.00418.34
8.2.70.0100.00017.50
8.2.60.0080.00017.63
8.2.50.0040.00417.55
8.2.40.0110.00717.62
8.2.30.0090.00917.62
8.2.20.0160.00017.75
8.2.10.0180.00017.62
8.2.00.0110.00617.62
8.1.300.0040.00420.08
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0070.00323.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.60
8.1.230.0120.00021.03
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.38
8.1.180.0050.00318.10
8.1.170.0130.00517.62
8.1.160.0140.00317.62
8.1.150.0180.00017.62
8.1.140.0140.00317.62
8.1.130.0080.00817.62
8.1.120.0130.00317.62
8.1.110.0040.01417.62
8.1.100.0090.00917.62
8.1.90.0110.00417.62
8.1.80.0120.00417.62
8.1.70.0090.00917.62
8.1.60.0120.00617.62
8.1.50.0070.01117.62
8.1.40.0090.00917.62
8.1.30.0120.00917.62
8.1.20.0120.00617.62
8.1.10.0130.00417.62
8.1.00.0190.00017.62
8.0.300.0080.00019.98
8.0.290.0060.00316.58
8.0.280.0070.01017.62
8.0.270.0100.00817.62
8.0.260.0100.00717.62
8.0.250.0080.00817.62
8.0.240.0120.00217.62
8.0.230.0120.00217.62
8.0.220.0070.00717.62
8.0.210.0070.00717.62
8.0.200.0030.01017.62
8.0.190.0130.00317.62
8.0.180.0040.01117.62
8.0.170.0060.00617.62
8.0.160.0140.00017.62
8.0.150.0080.00517.62
8.0.140.0060.00617.62
8.0.130.0130.00017.62
8.0.120.0120.00017.62
8.0.110.0120.00017.62
8.0.100.0090.00617.62
8.0.90.0080.00417.62
8.0.80.0060.01017.62
8.0.70.0100.00417.62
8.0.60.0130.00017.62
8.0.50.0050.00717.62
8.0.30.0070.00517.62
8.0.20.0120.00017.62
8.0.10.0100.00317.62

preferences:
51.45 ms | 403 KiB | 5 Q