$html = <<< HTMLimport url("/css.css?a=1"); <スクリプトtype='text/javascript' src='/js/jquery/jquery.js'> HTML; $ver = '1.0.3'; $p = "/( 复制代 执行结果: import url("/css.css?a=1&_v=1.0.3");