Correcting teacher:查无此人
Correction status:qualified
Teacher's comments:完成的不错
<?php $bool = true; var_dump(is_bool($bool)); echo '<hr>'; $bool = false; var_dump(is_bool($bool)); echo '<hr>'; $bool = 33; var_dump(is_bool($bool)); echo '<hr>'; $bool = '欧阳克'; var_dump(is_bool($bool)); echo '<hr>'; ?>
点击 "运行实例" 按钮查看在线实例
<?php $bool = true; var_dump(is_int($bool)); echo '<hr>'; $bool = 33; var_dump(is_int($bool)); echo '<hr>'; $bool = '欧阳克'; var_dump(is_int($bool)); echo '<hr>'; ?>
点击 "运行实例" 按钮查看在线实例
<?php $bool = true; var_dump(is_float($bool)); echo '<hr>'; $bool = 33; var_dump(is_float($bool)); echo '<hr>'; $bool = '欧阳克'; var_dump(is_float($bool)); echo '<hr>'; $bool = 22.22; var_dump(is_float($bool)); echo '<hr>'; ?>
点击 "运行实例" 按钮查看在线实例
<?php var_dump(isset($str)); echo '<hr>'; $str = null; var_dump(isset($str)); echo '<hr>'; $str = 'null'; var_dump(isset($str)); echo '<hr>'; $str = ''; var_dump(isset($str)); echo '<hr>'; $str = 0; var_dump(isset($str)); ?>
点击 "运行实例" 按钮查看在线实例