Searched refs:file_exists (Results 1 – 25 of 315) sorted by relevance
12345678910>>...13
24 var_dump(file_exists($pname . '/a'));25 var_dump(file_exists($pname . '/a/x'));26 var_dump(file_exists($pname . '/a/b'));28 var_dump(file_exists($pname . '/a/c'));32 var_dump(file_exists($pname . '/a'));33 var_dump(file_exists($pname . '/a/x'));34 var_dump(file_exists($pname . '/a/b'));36 var_dump(file_exists($pname . '/a/c'));38 var_dump(file_exists($pname . '/b'));39 var_dump(file_exists($pname . '/b/x'));[all …]
12 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN-1)));13 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN)));14 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN+1)));
2 Test file_exists() function : usage variations7 echo "*** Testing file_exists() : usage variations ***\n";9 var_dump(file_exists(NULL));10 var_dump(file_exists(false));11 var_dump(file_exists(''));12 var_dump(file_exists(' '));13 var_dump(file_exists('|'));17 *** Testing file_exists() : usage variations ***
30 var_dump( file_exists($filename) );34 var_dump( file_exists($dirname) );38 var_dump( file_exists($filename) );39 var_dump( file_exists($dirname) );46 var_dump( file_exists($filename) );47 var_dump( file_exists($dirname) );
18 var_dump( file_exists($src_name) ); // expecting false19 var_dump( file_exists($dest_name) ); // expecting false28 var_dump( file_exists($dir_name) ); // expecting false29 var_dump( file_exists($new_dir_name) ); // expecting true37 var_dump( file_exists($non_existent_dir_name) ); // expecting flase38 var_dump( file_exists($new_dir_name) ); // expecting false
17 var_dump( file_exists($dir_name) ); // expecting flase18 var_dump( file_exists($new_dir_name) ); // expecting true30 var_dump( file_exists($src_name) ); // expecting false31 var_dump( file_exists($dest_name) ); // expecting true
2 Bug #39863 (file_exists() silently truncates after a null byte)9 var_dump(file_exists($filename));
54 if(file_exists($file_path."/is_dir_variation2_symlink")) {57 if(file_exists($file_path."/is_dir_variation2_symlink")) {60 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) {63 if(file_exists($file_path."/is_dir_variation2_link.tmp")) {66 if(file_exists($file_path."/is_dir_variation2.tmp")) {69 if(file_exists($file_path."/is_dir_variation2")) {
25 var_dump( file_exists($src_file_name) );27 var_dump( file_exists($dest_file_name) );32 var_dump( file_exists($src_file_name) );34 var_dump( file_exists($dest_file_name) );
25 var_dump( file_exists($file_path."/rename_variation2.tmp" ) ); // expecting false26 var_dump( file_exists($file_path."/12345" ) ); // expecting true34 var_dump( file_exists($file_path."/rename_variation2_dir" ) ); // expecting false35 var_dump( file_exists($file_path."/12345" ) ); // expecting true
30 var_dump( file_exists($filename) ); // expecting false31 var_dump( file_exists($dest_linkname) ); // expecting true36 var_dump( file_exists($dest_linkname) ); // expecting false37 var_dump( file_exists($dest_dir."/rename_variation3_hard_link2.tmp") ); // expecting true
23 var_dump( file_exists($file_path."/rename_variation4.tmp" ) ); // expecting false24 var_dump( file_exists($file_path."/12345" ) ); // expecting true33 var_dump( file_exists($file_path."/rename_variation4_dir" ) ); // expecting false34 var_dump( file_exists($file_path."/12345" ) ); // expecting true
9 var_dump(file_exists($tempnam));11 if (file_exists($tempnam)) {
2 Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled)13 var_dump(file_exists("/dev/bogus_file_no_such_thing"));
8 test_open_basedir("file_exists");16 *** Testing open_basedir configuration [file_exists] ***23 Warning: file_exists(): open_basedir restriction in effect. File(../bad) is not within the allowed …26 Warning: file_exists(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the …29 Warning: file_exists(): open_basedir restriction in effect. File(..) is not within the allowed path…32 Warning: file_exists(): open_basedir restriction in effect. File(../) is not within the allowed pat…35 Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(…38 Warning: file_exists(): open_basedir restriction in effect. File(../bad/.) is not within the allowe…41 Warning: file_exists(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within…47 Warning: file_exists(): open_basedir restriction in effect. File(./../.) is not within the allowed …[all …]
2 Bug #53226 (file_exists fails on big filenames)10 var_dump(file_exists('./test/ok/ok.txt'));11 var_dump(file_exists('./test/foo'));14 var_dump(file_exists("./test/$file"));28 Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (…
27 if (!file_exists($dirname . '__oo_extract_tmp/foobar/baz')) {33 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {39 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {48 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {56 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {61 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
2 Bug #41518 (file_exists() warns of open_basedir restriction on non-existent file)22 var_dump(file_exists($tmp_file)); //exists23 var_dump(file_exists($tmp_file."nosuchfile")); //doesn't exist
29 if (file_exists($outfile)) {34 if (file_exists($vout)) {48 if (file_exists($outfile)) {53 if (file_exists($vout)) {67 if (file_exists($outfile)) {72 if (file_exists($vout)) {83 if (file_exists($outfile)) {88 if (file_exists($vout)) {
29 if (file_exists($outfile)) {34 if (file_exists($vout)) {45 if (file_exists($outfile)) {50 if (file_exists($vout)) {65 if (file_exists($outfile)) {69 if (file_exists($vout)) {
147 if (file_exists("$source_dir/$itemdb")) {313 if (!file_exists($dll)) {316 if (!file_exists($tdll)) {318 if (!file_exists($tdll)) {339 if (file_exists("$php_build_dir/bin/libenchant2.dll")) {349 if (!file_exists("$dest") || !is_dir("$dest")) {382 if (!file_exists($dll)) {385 if (!file_exists($tdll)) {435 if(!file_exists($directory) || !is_dir($directory)) {527 if (file_exists($destfilename))[all …]
31 var_dump(file_exists("directory"));32 var_dump(file_exists("mklink_junction"));33 var_dump(file_exists("mounted_volume"));34 var_dump(file_exists("$fullpath"));
2 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));5 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . …
3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
Completed in 29 milliseconds