ment($str) { return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); } ?>