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);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 'ticket_number' => 'sdfsdfsdf 2', 'strategy_id' => '5', 'journal_entries_strategy_conditions' => array ( 1 => array ( 'strategies_condition_id' => '1', ), ), 'timeframe' => '', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.78 ms | 405 KiB | 5 Q