php string number concatenation messed up

前端 未结 5 1346
灰色年华
灰色年华 2020-12-07 01:13

I got some php code here:

 

which outputs 234,

but when I add a number 11 before \"

5条回答
  •  悲哀的现实
    2020-12-07 01:50

    You should check PHP type conversion table to get better idea what's happen behind the scenes: http://php.net/manual/en/types.comparisons.php

提交回复
热议问题