Posted by Oli Filth on 11/16/27 11:28
lain said the following on 05/10/2005 11:04:
> Pugi! wrote:
>
>>Currently I am studying PHP.
>>
>>I can understand the following :
>>$a = 10;
>>$b = $a++;
>>print("$a, $b");
>>will print 11, 10 on the screen.
>
>
> just wrong.
> what happens is:
> $b = $a;
> $a++;
Yup.
> so the above example actually will print ("10, 10").
Nope :)
--
Oli
Navigation:
[Reply to this message]
|