Hi! I'm just making sure that I'm understanding something correctly. Suppose I have the following PHP script: <?php $a="hi"; $b="bye"; $c="bye"; echo ("Before: $a"); if (($a=$b)===$c) { echo ("In: "); echo ($a); } echo ("Out: $a"); ?> PHP: The if statement sets $a equal to $b and compares it to $c. $a remains the value of $b even after the if statement. I ran the script and that is what it seems to indicate, but I just want to make sure that that is correct and not some fluke. Thank you in advance for your help! Please let me know if you need any more information!
I didnt get you what are you trying to say.... You know the code and its working then whats the point... Here's the output according to me... Before: hiIn: byeOut: bye