3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 'rows' => [ [ 'a' => 'A', 'b' => 'B', 'c' => 'C', ], [ 'a' => 'A', 'b' => 'B', 'c' => 'C', ], 'XYZ' ], ]; print_r( filter_var_array($data, ['rows' => [ 'filter' => FILTER_FORCE_ARRAY, 'flags' => FILTER_FORCE_ARRAY ] ]) );
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [rows] => Array ( [0] => Array ( [a] => A [b] => B [c] => C ) [1] => Array ( [a] => A [b] => B [c] => C ) [2] => XYZ ) )

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:
62.65 ms | 402 KiB | 8 Q