Sandbox
PHP Functions
Donate/Get Premium
Login / Register
OnlinePHP
.io
# Execute and compare PHP Online
Sandbox
PHP Functions
Donate/Get Premium
Login / Register
OnlinePHP.io
Documentation
is_dir
Examples
is_dir
PHP 4, PHP 5, PHP 7, PHP 8
is_dir - Tells whether the filename is a directory
Manual
Code Examples
Example #1 is_dir example
Result:
bool(false) bool(false) bool(true)
Function is_dir:
Manual
Code Examples
Filesystem Functions
basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
disk_free_space
diskfreespace
disk_total_space
fclose
fdatasync
feof
fflush
fgetcsv
fgetc
fgetss
fgets
fileatime
filectime
file_exists
file_get_contents
filegroup
fileinode
filemtime
fileowner
fileperms
file_put_contents
filesize
filetype
file
flock
fnmatch
fopen
fpassthru
fputcsv
fputs
fread
fscanf
fseek
fstat
fsync
ftell
ftruncate
fwrite
glob
is_dir
is_executable
is_file
is_link
is_readable
is_uploaded_file
is_writable
is_writeable
lchgrp
lchown
linkinfo
link
lstat
mkdir
move_uploaded_file
parse_ini_file
parse_ini_string
pathinfo
pclose
popen
readfile
readlink
realpath_cache_get
realpath_cache_size
realpath
rename
rewind
rmdir
set_file_buffer
stat
symlink
tempnam
tmpfile
touch
umask
unlink
Most used PHP functions
sandbox
(153501810)
password_hash
(553294)
hash_pbkdf2
(523174)
unserialize
(313841)
serialize
(235170)
preg_replace
(234364)
json_encode
(216680)
preg_match
(208109)
json_decode
(156387)
hex2bin
(137714)
uniqid
(110741)
array
(92150)
iconv
(77682)
preg_match_all
(66520)
password_verify
(62188)
utf8_decode
(60205)