$log=preg_replace('/passwordnew=+[\S+]+;/','passwordnew=******;',$log);
用正则表达式测试工具测试正则表达式:https://c.runoob.com/front-end/854
$log=preg_replace('/passwordnew=+[\S+]+;/','passwordnew=******;',$log);
用正则表达式测试工具测试正则表达式:https://c.runoob.com/front-end/854