村南
2016-07-19 15:49
Parse error: syntax error, unexpected '123' (T_LNUMBER) in /54/743/FTcC/index.php on line 4
需要把双引号去掉。
<?php
echo $m1 = memory_get_usage();
echo "<br />";
$var_string = 123;
echo $m2 = memory_get_usage()-$m1;
echo "<br />";
$n = 123;
echo $m3 = memory_get_usage()-$m1-$m2;
echo "<br />";
$f = 123.00;
echo $m4 = memory_get_usage()-$m1-$m2-$m3;
echo "<br />";
$var_array = array("123");
echo $m5 = memory_get_usage()-$m1-$m2-$m3-$m4;
?>
PHP入门篇
456041 学习 · 6307 问题
相似问题