0

Hello every body, I do this code

<? Php Var_dump(5&4); ?> And the result is: Int(4) I don't understand what mean that can any one explain what you mean that and thank in advance.

27th Sep 2019, 9:51 PM
Ghada Ben Khalifa
Ghada Ben Khalifa - avatar
1 Odpowiedź
+ 4
& is a bitwise operator ,its convert int to binary form 5=0101 4=0100 0101 & 0100 =0100 And 0100=4
28th Sep 2019, 2:02 AM
Prathvi
Prathvi - avatar