首页 > PHP String 转int的问题

PHP String 转int的问题

<?php






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

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


数字0开头,是8进制

【热门文章】
【热门文章】