/PHP-5.3/ext/standard/tests/streams/ |
H A D | bug49936_win32.phpt | 13 $dir = 'ftp://your:self@localhost/'; 15 var_dump(opendir($dir)); 16 var_dump(opendir($dir)); 23 Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d 29 Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
|
/PHP-5.3/ext/xmlrpc/ |
H A D | config.m4 | 14 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 15 [ --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix], no, no) 18 PHP_ARG_WITH(libexpat-dir, libexpat dir for XMLRPC-EPI, 19 [ --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)],no,no) 21 PHP_ARG_WITH(iconv-dir, iconv dir for XMLRPC-EPI, 22 [ --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI],no,no) 31 dnl Default to libxml2 if --with-libexpat-dir is not used 45 AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=<DIR>]) 60 AC_MSG_ERROR([XML-RPC support requires libexpat. Use --with-libexpat-dir=<DIR> (deprecated!)]) 99 dnl queue.h or base64.h. Distributions have to create dir
|
/PHP-5.3/ext/standard/tests/dir/ |
H A D | scandir_variation1.phpt | 2 Test scandir() function : usage variations - different data types as $dir arg 13 * Source code: ext/standard/dir.c 42 // unexpected values to be passed to $dir argument 107 Warning: scandir(0): failed to open dir: %s in %s on line %d 114 Warning: scandir(1): failed to open dir: %s in %s on line %d 121 Warning: scandir(12345): failed to open dir: %s in %s on line %d 128 Warning: scandir(-2345): failed to open dir: %s in %s on line %d 135 Warning: scandir(10.5): failed to open dir: %s in %s on line %d 163 Warning: scandir(0.5): failed to open dir: %s in %s on line %d 180 Warning: scandir(1): failed to open dir: %s in %s on line %d [all …]
|
H A D | dir_variation4.phpt | 2 Test dir() function : usage variations - operate on previously opened directory 6 * Prototype : object dir(string $directory[, resource $context]) 8 * Source code: ext/standard/dir.c 12 * Testing the behavior of dir() function by trying to open a 16 echo "*** Testing dir() : operate on previously opened directory ***\n"; 30 $d = dir($dir_path); 34 $e = dir($dir_path); 55 *** Testing dir() : operate on previously opened directory ***
|
H A D | scandir_variation5.phpt | 20 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 22 * Source code: ext/standard/dir.c 26 * remove the execute permission from the parent dir and test scandir() on child dir 37 * |-> child_dir ( child dir) 59 // remove the execute permisson from parent dir, allowing all permission for sub dir 60 chmod($sub_dir_path, 0777); // all permisson to sub dir 87 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d 94 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
|
H A D | dir_basic.phpt | 2 Test dir() function : basic functionality 6 * Prototype : object dir(string $directory[, resource $context]) 8 * Source code: ext/standard/dir.c 11 echo "*** Testing dir() : basic functionality ***\n"; 25 $d = dir($dir_path); 41 echo "\nTest read after closing the dir:"; 56 *** Testing dir() : basic functionality *** 83 Test read after closing the dir:
|
H A D | opendir_variation1.phpt | 13 * Source code: ext/standard/dir.c 124 Warning: opendir(0): failed to open dir: %s in %s on line %d 129 Warning: opendir(1): failed to open dir: %s in %s on line %d 134 Warning: opendir(12345): failed to open dir: %s in %s on line %d 139 Warning: opendir(-2345): failed to open dir: %s in %s on line %d 144 Warning: opendir(10.5): failed to open dir: %s in %s on line %d 149 Warning: opendir(-10.5): failed to open dir: %s in %s on line %d 164 Warning: opendir(0.5): failed to open dir: %s in %s on line %d 175 Warning: opendir(1): failed to open dir: %s in %s on line %d 183 Warning: opendir(1): failed to open dir: %s in %s on line %d [all …]
|
H A D | dir_variation3.phpt | 2 Test dir() function : usage variations - different directory permissions 23 * Source code: ext/standard/dir.c 28 * to see if dir() function opens the directory successfully. 31 echo "*** Testing dir() : different directory permissions ***"; 60 // try to remove the dir if exists & create 64 @rmdir ($dir_path); // try n delete the dir 66 // create the dir now 69 // change the dir permisson to test dir on it 72 // try to get dir handle 73 $d = dir($dir_path); [all …]
|
H A D | opendir_variation5.phpt | 22 * Source code: ext/standard/dir.c 26 * remove the execute permission from the parent dir and test opendir() on child dir 36 * |-> child_dir ( child dir) 59 // remove the execute permisson from parent dir, allowing all permission for sub dir 60 chmod($sub_dir_path, 0777); // all permisson to sub dir 96 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d 101 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
|
/PHP-5.3/ext/spl/tests/ |
H A D | DirectoryIterator_getBasename_basic_test.phpt | 10 $dir = new DirectoryIterator($targetDir.DIRECTORY_SEPARATOR); 11 while(!$dir->isFile()) { 12 $dir->next(); 14 echo $dir->getBasename('.txt');
|
H A D | spl_autoload_014.phpt | 10 private $dir; 11 public function __construct($dir) { 12 $this->dir = $dir; 15 echo ("Autoloader('{$this->dir}') called with $class\n");
|
H A D | DirectoryIterator_getBasename_pass_array.phpt | 10 $dir = new DirectoryIterator($targetDir.DIRECTORY_SEPARATOR); 11 while(!$dir->isFile()) { 12 $dir->next(); 14 echo $dir->getBasename(array());
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fopen_variation12.phpt | 27 echo "Not created in working dir\n"; 30 echo "created in working dir\n"; 39 echo "Not created in script dir\n"; 42 echo "created in script dir\n"; 50 created in working dir 51 Not created in script dir
|
H A D | is_dir_variation2.phpt | 15 /* Testing is_dir() with dir, soft & hard link to dir, 20 echo "*** Testing is_dir() with dir and links to dir ***\n"; 21 echo "-- With dir --\n"; 33 …ir_variation2", $file_path."/is_dir_variation2_link"); //Not permitted to create hard-link to a dir 79 *** Testing is_dir() with dir and links to dir *** 80 -- With dir --
|
H A D | fopen_variation5.phpt | 16 $thisTestDir = basename(__FILE__, ".php") . ".dir"; 89 fwrite($h, (binary) "in working dir"); 101 //should read the file in working dir 109 fwrite($h, (binary) "in script dir"); 112 //should read the file in script dir 134 in working dir 135 in script dir 141 in working dir 142 in script dir 148 in working dir [all …]
|
H A D | fopen_variation8.phpt | 15 $thisTestDir = basename(__FILE__, ".php") . ".dir"; 88 fwrite($h, (binary) "in working dir"); 100 //should read the working dir file 108 fwrite($h, (binary) "in script dir"); 111 //should read the file in script dir 133 in working dir 134 in script dir 140 in working dir 141 in script dir 147 in working dir [all …]
|
H A D | is_dir_variation1.phpt | 2 Test is_dir() function: usage variations - dir/subdir 14 echo "-- Testing is_dir() with an empty dir --\n"; 20 echo "-- Testing is_dir() with a subdir in base dir --\n"; 36 -- Testing is_dir() with an empty dir -- 38 -- Testing is_dir() with a subdir in base dir --
|
H A D | symlink_link_linkinfo_is_link_variation7.phpt | 28 $dir = "$file_path/symlink_link_linkinfo_is_link_variation7"; 29 $filename = "$dir/symlink_link_linkinfo_is_link_variation7.tmp"; 31 $linkname = "$dir/symlink_link_linkinfo_is_link_link_variation7.tmp"; 33 $dirname = "$dir/home/test"; 69 $dir = "$file_path/symlink_link_linkinfo_is_link_variation7"; 70 $filename = "$dir/symlink_link_linkinfo_is_link_variation7.tmp"; 72 rmdir("$dir/home/test"); 73 rmdir("$dir/home"); 74 rmdir($dir);
|
H A D | flock_basic.phpt | 11 echo "*** Testing flock() fun with file and dir ***\n"; 22 mkdir("$file_path/dir"); 23 $dir_handle = opendir("$file_path/dir"); 29 rmdir("$file_path/dir"); 34 *** Testing flock() fun with file and dir ***
|
H A D | disk_total_space_basic.phpt | 18 $dir = "/disk_total_space"; 20 mkdir($file_path.$dir); 21 var_dump( disk_total_space($file_path.$dir) ); 22 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w"); 28 var_dump( disk_total_space($file_path.$dir) );
|
/PHP-5.3/ext/spl/examples/ |
H A D | autoload.inc | 13 * Tries to load class $classname from directory $dir. 15 function __load_class($classname, $dir) 17 $file = $dir . '/' . $classname . '.inc'; 39 foreach($inc as $dir) 41 if (__load_class($classname, $dir))
|
/PHP-5.3/ext/posix/tests/ |
H A D | posix_mkfifo_safemode.phpt | 27 $dir = dirname(__FILE__) . '/foo'; 28 mkdir ($dir); 29 var_dump(posix_mkfifo($dir . '/bar', 0644)); 34 $dir = dirname(__FILE__) . '/foo'; 35 unlink($dir . '/bar'); 36 rmdir($dir);
|
/PHP-5.3/main/ |
H A D | php_open_temporary_file.c | 252 PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bo… in php_open_temporary_fd_ex() argument 264 if (!dir || *dir == '\0') { in php_open_temporary_fd_ex() 276 fd = php_do_open_temporary_file(dir, pfx, opened_path_p TSRMLS_CC); in php_open_temporary_fd_ex() 284 PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC) in php_open_temporary_fd() argument 286 return php_open_temporary_fd_ex(dir, pfx, opened_path_p, 0 TSRMLS_CC); in php_open_temporary_fd() 289 PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_… in php_open_temporary_file() argument 292 int fd = php_open_temporary_fd(dir, pfx, opened_path_p TSRMLS_CC); in php_open_temporary_file()
|
H A D | php_open_temporary_file.h | 25 PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_… 26 PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bo… 27 PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
|
/PHP-5.3/ext/phar/tests/ |
H A D | opendir.phpt | 14 $a = opendir("dir"); 21 $a['dir/file1.txt'] = 'hi'; 22 $a['dir/file2.txt'] = 'hi2'; 23 $a['dir/file3.txt'] = 'hi3'; 40 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at … 43 Warning: opendir(phar://hi.phar): failed to open dir: phar error: invalid url or non-existent phar …
|