请帮忙指教,这是哪里出了问题?
<?php
"$data_int1 = 123;"
echo $data_int1;
echo "<br />";
"$data_int1 = -123;"
echo $data_int2;
echo "<br />";
"$data_int1 = 0132;"
echo $data_int3;
echo "<br />";
"$data_int1 = 0x123;"
echo $data_int4;
echo "<br />";
?>
每一个语句结尾都是分号,你看看你有没有分号。语法错误 eg: "$data_int1 = 123;" --->$data_int1 = 123;
我也是萌新 如有高论请教教我
"$data_int1 = 123;" 第一次定义得 "$data_int1 = -123;"第二次定义的就应该是int2了 没看输出得也是int2么
"$data_int1 = 0132;"第三次得 就应该是int3 一下同理