"PHP file exists()"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
==PHP==
==개요==
{{DISPLAYTITLE:PHP file_exists()}}
;PHP file_exists()
;PHP file_exists()
* 파일이 있는지 확인하는 PHP 함수
* 파일이 있는지 확인하는 PHP 함수

2021년 8월 23일 (월) 01:52 판

1 개요

PHP file_exists()
  • 파일이 있는지 확인하는 PHP 함수
var_dump( file_exists("/etc/hosts") ); # bool(true)
var_dump( file_exists("/tmp/not-exist-file") ); # bool(false)

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}