3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=[ 'foo'=>"00XX" ]; var_dump(json_encode($arr,JSON_PARTIAL_OUTPUT_ON_ERROR));
based on 8XjeS
Output for 5.5.0 - 7.3.0beta1
string(14) "{"foo":"00XX"}"