PHP file_exists()

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 참고[ | ]