public static function endTag($name) { if ($name === null || $name === false) { return ''; } return "</{$name}>"; }