当前位置: 首页> 函数类别大全> get_debug_type

get_debug_type

获取变量的类型(可以为数组、字符串、匿名类和对象返回更有用的输出信息)
名称:get_debug_type
分类:变量处理
所属语言:php
一句话介绍:获取变量的类型(可以为数组、字符串、匿名类和对象返回更有用的输出信息)
同类函数
  • 检测变量是否是整数  is_int

    is_int

    检测变量是否是整数
  • 检测变量是否是一个标量  is_scalar

    is_scalar

    检测变量是否是一个标量
  • 检测变量是否已设置并且非 null  isset

    isset

    检测变量是否已设置并且非null
  • is_int 的别名  is_long

    is_long

    is_int的别名
  • 验证变量的内容是否为可迭代值  is_iterable

    is_iterable

    验证变量的内容是否为可迭代值
  • 检测变量是否为 null  is_null

    is_null

    检测变量是否为null
  • 获取变量的类型  gettype

    gettype

    获取变量的类型
  • 检测变量是否是布尔型  is_bool

    is_bool

    检测变量是否是布尔型
热门文章