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.
次のような例があるとします。
$foo = 'Hello '; $bar = 1; $abc =& $foo . $bar; if (true) { ++$bar; if (true) { ++$bar; } } echo $abc;
Hello 3$abcが返されることを期待していますが、実際にはHelloのみが返されます。私は本当に混乱しています。PHP の参照で間違っていることはありますか?
$abc