search

Home  >  Q&A  >  body text

Implicit conversion in php?

$a = false;$b = $a++;echo $b;结果是什么?》
我想大声告诉你我想大声告诉你2755 days ago606

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-12 09:23:36

    false, no invisible transformation will be done.

    Moreover, if you write it like this, even if $a is a number. $b will not get self-increment either. Because it will increase automatically after assignment.

    reply
    0
  • Cancelreply