3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['foo' => null]; var_dump(json_encode(array_filter($a)));
based on HmUI9
Output for 5.5.0 - 7.3.0beta1
string(2) "[]"