Why does PHP convert String to Integer?

后端 未结 4 683
庸人自扰
庸人自扰 2020-12-21 07:36

I would like to know on what condition PHP decides when to convert from String to Integer and the other way around

Example:

$key = 0;
$test = \'test         


        
4条回答
提交回复
热议问题