1. script:
$num = \"00445790\"; echo $num;
returns:
00445790
2. script
$num = 00445790; echo
Integers that start with zero are consider octal. Because octal integers only use numbers from 0 to 8 everything from the 9 on are ignored.
9
So 00445790 becomes 004457 which is 2351 in decimal.
004457
2351