跳到主要内容

is_number

判断是不是一个数字

声明

bool is_number(mixed val)

参数

参数名描述
val待判断的值

返回值

true: 是, false: 不是

使用方式

返回文档