Variable handling 함수 목록

Table of Contents

  • boolval — Get the boolean value of a variable
  • debug_zval_dump — Dumps a string representation of an internal zend value to output
  • doubleval — 별칭: floatval
  • empty — 변수가 비어있는지 검사합니다
  • floatval — 변수의 float 값을 얻습니다
  • get_defined_vars — 모든 정의된 변수의 배열을 반환
  • get_resource_type — 자원형을 반환
  • gettype — 변수의 자료형을 얻습니다
  • import_request_variables — GET/POST/쿠키 변수를 전역으로 가져옵니다
  • intval — 변수의 정수값을 얻습니다
  • is_array — 변수가 배열인지 확인
  • is_bool — 변수가 논리형인지 확인
  • is_callable — 변수 내용을 함수처럼 호출할 수 있는지 확인
  • is_double — 별칭: is_float
  • is_float — 변수의 자료형이 소수인지 확인합니다
  • is_int — 변수의 자료형이 정수인지 확인합니다
  • is_integer — 별칭: is_int
  • is_long — 별칭: is_int
  • is_null — 변수가 NULL인지 확인합니다
  • is_numeric — 변수가 수나 수 문자열인지 확인합니다
  • is_object — 변수가 객체인지 확인합니다
  • is_real — 별칭: is_float
  • is_resource — 변수가 자원인지 확인
  • is_scalar — 변수가 스칼라인지 확인
  • is_string — 변수의 자료형이 문자열인지 확인합니다
  • isset — 설정된 변수인지 확인
  • print_r — 변수에 관한 정보를 사람이 읽기 편하게 출력
  • serialize — 값의 저장 표현을 생성
  • settype — 변수의 자료형을 설정
  • strval — 변수의 문자열 값을 얻습니다
  • unserialize — 저장 표현에서 PHP 값을 작성
  • unset — 주어진 변수를 제거
  • var_dump — 변수에 대한 정보를 덤프
  • var_export — 변수를 처리가능한 문자열 표현으로 출력하거나 반환합니다
add a note add a note

User Contributed Notes 1 note

up
-1
aldemarcalazans@gmail
4 years ago
I thought the PHP developers should include in this section, the operator "identity" ( see http://php.net/manual/en/language.operators.arithmetic.php).

From an arithmetic point of view, this operator is useless but, as a converter from string to number, it is great. It does not force the numerical string to have an integer or float type, instead, it automatically determines the adequate type, depending on the numerical quantity represented by the string.
To Top