PHP file_exists()

1 개요[ | ]

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

2 같이 보기[ | ]

3 참고[ | ]