Blogger Information
Blog 34
fans 2
comment 0
visits 23102
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP基础第二课
遗忘了寂寞
Original
452 people have browsed it

实例

<?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));
?>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Correcting teacher:查无此人查无此人

Correction status:qualified

Teacher's comments:完成的不错
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post