function:is_bool ( varname );return type:booleancontent:ใช้ตรวจสอบว่า ตัวแปรนั้น เป็น boolean ใช่หรือไม่example:if ( is_bool ( 1 ) ) { echo "var type boolean"; }