3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [ 't1' => false, 't2' => true ]; var_dump(array_filter($a));
Output for 5.6.0 - 7.3.0beta1
array(1) { ["t2"]=> bool(true) }