public function content($content)
{
// Don't try to send a string containing \0 - it's the wbxml string
// terminator.
if (!is_resource($content)) {
$content = str_replace("", '', $content);
if ('x' . $content == 'x') {
return;
}
}
$this->_outputStack();
$this->_content($content);
if (is_resource($content)) {
fclose($content);
$content = null;
}
}