Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行代码时
var_dump($data);
这就是我得到的:
string(2) "55"
如何回显这个并将“55”分配给变量?
您可以直接分配和直接打印。
echo $data; $var = $data;
您可以使用 echo 打印分配给变量的值。
echo($data);