note
ikegami
<blockquote><p><i>1)$x - return's copy of object $x and then return it's value in numeric context.</i></blockquote>
<p>While scalar, list and void context affect what an operator returns, that's not the case for numeric, string and boolean context. They're not actually contexts as they don't affect what an operator returns.
<p>For example, addition imposes a scalar context on its operands, but those operands could just as easily return strings instead of numbers. The addition operator itself will convert the scalars to numbers.
<p><c>$x</c> places that scalar on the stack. Not a copy of it.
1055390
1055390