我有这一行:
<input type="text" name="mpsRegnomer" er="невалиден номер" id="mpsRegnomer" class="upertrim inputGSmall" value="' . (isset($this->data['mpsRegnomer'])) ? '2' : '3' . '" style="margin-top:0px"/>
当我使用上面的这一行时,它返回值2
:
var_dump(isset($this->data['mpsRegnomer'])); exit;
它返回我bool(false)
吗?根据文档,它应该返回3
而不是2
吗?