3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 23 => [ 'foo' ], 42 => 'bar', ]; var_dump( filter_var( $a[23], FILTER_UNSAFE_RAW, null ) );

preferences:
37.11 ms | 402 KiB | 5 Q