PHP怎么将字符串的首的空格和全角空格替换为两个空格?

$text = preg_replace(‘/^[\s ]+/u’, ”, $text);