3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "\xB1\x31"; var_dump(json_encode($text));
based on J4XhR
Output for 5.6.0 - 7.3.0rc3
bool(false)