Why is $b "b" in this logic?

Posted by user275074 on Stack Overflow See other posts from Stack Overflow or by user275074
Published on 2010-03-27T09:02:03Z Indexed on 2010/03/27 9:13 UTC
Read the original article Hit count: 148

Filed under:
|
|

I'd have expected $b to be 'a' but it is 'b', why is this the case?

$a = "b";
$b = "a";

© Stack Overflow or respective owner

Related posts about variable

Related posts about variables