3v4l.org

run code in 500+ PHP versions simultaneously
<?php function pulisci_array48mom(array $input): array { return array_filter($input, function ($entry) { return is_int($entry[0]) && is_double($entry[1]) && is_double($entry[2]) && is_numeric($entry[3]) && is_numeric($entry[4]) && is_string($entry[5]) && is_int($entry[6]); }); } $input = pulisci_array48mom([ [1530270934000, 19.4034, -155.2675, 3, 1, 'E', 612], ['1530270934000', 19.4034, -155.2675, 3, 2, 'E', 612], [1530270934000, 19.4034, -155.2675, 3, 3, 'E', 612], ]); print_r($input);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => 1530270934000 [1] => 19.4034 [2] => -155.2675 [3] => 3 [4] => 1 [5] => E [6] => 612 ) [2] => Array ( [0] => 1530270934000 [1] => 19.4034 [2] => -155.2675 [3] => 3 [4] => 3 [5] => E [6] => 612 ) )

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:
50.1 ms | 1505 KiB | 4 Q