PHP‎ > ‎

Remove NULL Bytes

Removing NULL Bytes from a string in PHP


    foreach ($lines as &$value)
    {
        $value = str_replace("\0", "", $value);

        //do something with $value;       
    }

Comments