LoginSignup
0
0

More than 5 years have passed since last update.

[メモ]指定の型を判別

Last updated at Posted at 2015-06-12

使用する値の型を調べる関数一覧

  • is_array
  • is_bool
  • is_float
  • +is_double (is_floatのエイリアス)
  • +is_real (is_floatのエイリアス)
  • is_int
  • +is_integer (is_intのエイリアス)
  • +is_long (is_intのエイリアス)
  • is_null
  • is_object
  • is_resource
  • is_scalar
  • is_string
  • is_callable

型が合っていればTRUE、違えばFALSEを返す。

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0