php 字符串传变量

$str = "name=123,age={$age},height=160";

字符串用双引号“”,{}里面放变量

原文地址:https://www.cnblogs.com/my2018/p/10561824.html