[eluser]greedyman[/eluser]
[quote author="sv3tli0" date="1374735500"]when you have 0 infront its Octal number not Decimal ...
012(octal) = 10(decimal) / 4 = 2.5
Octal numbers: 0-7
Decimal: 0-9
If you cast it to int it will show int number...
Code:
var_dump( (int) 012 );
int 10
[/quote]
Thanks for helping me! I see your answer.