/PHP-5.5/ext/standard/tests/file/ |
H A D | unlink_variation1.phpt | 25 /* Delete file having default permission but its dir having readonly permission 26 Delete file having readonly permission but dir having default permission 32 // temp dir name used here 38 // create temp dir 44 echo "-- Unlink file having default permission and its dir having read only permission --\n"; 51 // remove the dir 56 echo "\n-- Unlinking file without write permission, its dir having default permission --\n"; 57 // create the temp dir 69 // remove temp dir 76 -- Unlink file having default permission and its dir having read only permission -- [all …]
|
H A D | rename_variation1-win32.phpt | 26 /* Testing a dir with trailing slash */ 29 /* Testing dir with double trailing slashes */ 44 // create the src dir 46 // rename the src dir to a new dir in dest dir 48 // ensure that dir was renamed 52 // remove the new dir
|
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 --
|
/PHP-5.5/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.5/ext/phar/tests/ |
H A D | file_get_contents.phpt | 13 echo file_get_contents("dir/file1.txt"); 16 $a['dir/file1.txt'] = 'hi'; 17 $a['dir/file2.txt'] = 'hi2'; 18 $a['dir/file3.txt'] = 'hi3'; 21 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
|
H A D | readfile.phpt | 13 readfile("dir/file1.txt"); 16 $a['dir/file1.txt'] = 'hi'; 17 $a['dir/file2.txt'] = 'hi2'; 18 $a['dir/file3.txt'] = 'hi3'; 21 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
|
H A D | opendir.phpt | 13 $a = opendir("dir"); 20 $a['dir/file1.txt'] = 'hi'; 21 $a['dir/file2.txt'] = 'hi2'; 22 $a['dir/file3.txt'] = 'hi3'; 39 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at … 42 Warning: opendir(phar://hi.phar): failed to open dir: phar error: invalid url or non-existent phar …
|
/PHP-5.5/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.5/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.5/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.5/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.5/ext/posix/tests/ |
H A D | posix_mkfifo_safemode.phpt | 28 $dir = dirname(__FILE__) . '/foo'; 29 mkdir ($dir); 30 var_dump(posix_mkfifo($dir . '/bar', 0644)); 35 $dir = dirname(__FILE__) . '/foo'; 36 unlink($dir . '/bar'); 37 rmdir($dir);
|
/PHP-5.5/main/ |
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);
|