PHP String 转int的问题

<?php






$a=012;
echo (int)$a;
echo  $a/4;

为什么$a被转成了10???

阅读 5.5k
1 个回答

数字0开头,是8进制

推荐问题