- var_dump: documentation ( source)
- json_decode: documentation ( source)
- preg_replace: documentation ( source)
<?php
$str = json_decode("\u000f\u000f?\u001f\u000f\u000e\u000f\u001e\u00c3");
var_dump($str);
$str = preg_replace('/[\x00-\x19\x7f]/', '', $str);
var_dump($str);