PHP file_exists()

Jmnote (토론 | 기여)님의 2023년 2월 28일 (화) 12:03 판 (→‎같이 보기)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

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

2 같이 보기[ | ]

3 참고[ | ]