(→같이 보기) |
Jmnote bot (토론 | 기여) 잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==)) |
||
25번째 줄: | 25번째 줄: | ||
* [[함수 is_number()]] | * [[함수 is_number()]] | ||
==참고 | ==참고== | ||
* http://php.net/manual/kr/function.is-numeric.php | * http://php.net/manual/kr/function.is-numeric.php | ||
* http://www.w3resource.com/php/function-reference/is_numeric.php | * http://www.w3resource.com/php/function-reference/is_numeric.php |
2017년 6월 27일 (화) 12:33 판
1 개요
- PHP is_numeric()
- 변수가 수나 수 문자열인지 확인하는 PHP 함수
PHP
Copy
// true
is_numeric(42);
is_numeric("42");
is_numeric(3.14159);
is_numeric("1e5");
// false
is_numeric("A");
2 같이 보기
- PHP ctype_digit()
- PHP is_bool()
- PHP is_null()
- PHP is_float()
- PHP is_int()
- PHP is_string()
- PHP is_array()
- PHP is_object()
- 함수 is_number()
3 참고
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.