PHP Usuń zerowe bajty z ciągu

$text = str_replace("\0", "", $text);
Friendly Hawk