help me plzz ! [php hard question] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

help me plzz ! [php hard question]

hi, i know if we a varible like $var =5; and i will make : $var2 = $var--; the result of $var2 will be 5; and result of $var will convert to 4; and if we make : $var3 = --$var2; the var3 will be 4 and var2 will convert to 4. Why : $num = 5; echo $num * $num--; the result of $num is 20 ????????????! img to the oringnal question : https://imgur.com/a/VF3OB4g

29th Aug 2018, 5:46 PM
Yousef Eabitan
Yousef Eabitan - avatar
1 Answer
+ 2
ok thanks :)
30th Aug 2018, 9:16 AM
Yousef Eabitan
Yousef Eabitan - avatar