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.
我正在学习 PHP 并在玩耍,但我不知道为什么输出 150 而不是 250
$num1 = 10; $num2 = 15; ($num1 + $num2) * $num1 = $num3; echo $num3;
我知道我的语法是错误的,我应该把
$num3 = ($num1 + $num2) * $num1;
但我不知道 PHP 在获得 150 时的逻辑是什么
谢谢
金发时刻——我将立即辞去核电站首席编码员的职务