字符串'00'和'0'有什么区别

<?php
echo '0' == 0 ?1:0;
echo '00' == 0 ?1:0;
echo '01' == 0 ?1:0;
echo '00' == '0' ? 1:0;
echo '0' == false ? 1:0;
echo '00' == false ? 1:0;

结果

110110

现在待解决的问题是字符串'00'='0'

查看回复