$str='{$a}{ok}'; echo preg_replace('#\{(\$\w+)\}#','<?php echo $1;?>',$str);
21,887
社区成员
140,363
社区内容
加载中
试试用AI创作助手写篇文章吧