PHP 获取js中变量的方法 留作笔记 <php? $aaa="<script>document.write(1)</script>"; echo $aaa; ?> 其中数字 ”1“ 可以在javascript中自定义