/PHP-7.0/ext/zip/tests/ |
H A D | bug14962.phpt | 11 $dir = dirname(__FILE__); 13 $fullpath = $dir . '/' . $file; 15 $za->open($dir . '/__14962.zip', ZIPARCHIVE::CREATE); 19 if (!is_file($dir . "/__14962.zip")) { 23 $za->open($dir . '/__14962.zip'); 24 $za->extractTo($dir, NULL); 31 unlink($dir . '/' . '__14962.zip');
|
/PHP-7.0/ext/spl/tests/ |
H A D | spl_autoload_013.phpt | 10 private $dir; 11 public function __construct($dir) { 12 $this->dir = $dir; 15 var_dump("{$this->dir}/$class.php"); 42 ["dir":"Autoloader":private]=> 47 ["dir":"Autoloader":private]=>
|
H A D | DirectoryIterator_getExtension_basic.phpt | 11 $dir = __DIR__ . DIRECTORY_SEPARATOR . md5('DirectoryIterator::getExtension') . DIRECTORY_SEPARATOR; 12 mkdir($dir); 16 touch($dir . $file); 23 foreach (new DirectoryIterator($dir) as $file) { 36 $dir = __DIR__ . DIRECTORY_SEPARATOR . md5('DirectoryIterator::getExtension') . DIRECTORY_SEPARAT… 39 unlink($dir . $file); 41 rmdir($dir);
|
/PHP-7.0/ext/phar/tests/tar/ |
H A D | tar_003.phpt | 21 $tar->mkDir('internal/dir'); 22 $tar->mkDir('dir'); 36 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n"); 41 /* ensure none of the dir tar files were freed */ 45 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n"); 58 dir 59 dir 60 dir 65 dir 66 dir [all …]
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | bug68335.phpt | 5 $dir = 'file://' . dirname(__FILE__) . '/testDir'; 6 mkdir($dir); 7 var_dump(is_dir($dir)); 8 rmdir($dir); 9 var_dump(is_dir($dir));
|
H A D | basename_variation1-win32.phpt | 38 "dir/foo.bar", 39 "dir\\foo.bar", 40 "dir with spaces/foo.bar", 41 "dir with spaces\\foo.bar", 69 basename for path A:/dir/foo.bar is: 71 basename for path A:/dir\foo.bar is: 89 basename for path Z:/dir/foo.bar is: 91 basename for path Z:/dir\foo.bar is: 109 basename for path A:\dir/foo.bar is: 111 basename for path A:\dir\foo.bar is: [all …]
|
H A D | filestat.phpt | 24 var_dump(fileinode("/no/such/file/or/dir")); 25 var_dump(fileowner("/no/such/file/or/dir")); 26 var_dump(filegroup("/no/such/file/or/dir")); 27 var_dump(fileatime("/no/such/file/or/dir")); 28 var_dump(filectime("/no/such/file/or/dir")); 49 Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d 52 Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d 55 Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d 58 Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d 61 Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d
|
H A D | copy_variation11.phpt | 2 Test copy() function: usage variations - existing dir as destination 14 echo "*** Test copy() function: Trying to create a copy of source file as a dir ***\n"; 20 $dir = $file_path."/copy_variation11"; 21 mkdir($dir); 27 var_dump( filesize($dir) ); //size of destination before copy 31 var_dump( copy($file, $dir) ); //expected: bool(false) 34 var_dump( file_exists($dir) ); //expected: bool(true) 39 var_dump( is_file($dir) ); //expected: bool(false) 40 var_dump( is_dir($dir) ); //expected: bool(true) 43 var_dump( filesize($dir) ); //size of destination after copy [all …]
|
H A D | basename_variation2-win32.phpt | 20 "dir/foo.bar", 21 "dir\\foo.bar", 22 "dir with spaces/foo.bar", 23 "dir with spaces\\foo.bar", 176 basename for path dir/foo.bar, supplying suffix . is: 178 basename for path dir/foo.bar, supplying suffix is: 188 basename for path dir/foo.bar, supplying suffix / is: 190 basename for path dir/foo.bar, supplying suffix \ is: 196 basename for path dir\foo.bar, supplying suffix . is: 198 basename for path dir\foo.bar, supplying suffix is: [all …]
|
H A D | disk_total_space_variation.phpt | 22 $dir = "/disk_total_space"; 24 mkdir($file_path.$dir); 28 $file_path.$dir, 29 $file_path."/.".$dir, 32 $file_path."".$dir."/", 33 $file_path."/.".$dir."/", 36 $file_path.$dir."//", 37 $file_path."/.".$dir."//", 38 $file_path."/./".$dir."//", 41 $file_path.$dir.chr(0), [all …]
|
H A D | tempnam_variation7-win32.phpt | 14 /* Passing invalid/non-existing args for $dir, 31 "/no/such/file/dir", 52 echo "temp dir\n"; 70 File created in => temp dir 74 File created in => temp dir 78 File created in => temp dir 82 File created in => temp dir 86 File created in => temp dir 90 File created in => temp dir 106 File created in => temp dir [all …]
|
H A D | tempnam_variation7.phpt | 14 /* Passing invalid/non-existing args for $dir, 31 "/no/such/file/dir", 54 echo "temp dir\n"; 75 File created in => temp dir 79 File created in => temp dir 83 File created in => temp dir 87 File created in => temp dir 91 File created in => temp dir 95 File created in => temp dir 111 File created in => temp dir [all …]
|
H A D | unlink_variation1-win32.phpt | 15 /* Delete file having default permission but its dir having readonly permission 16 Delete file having readonly permission but dir having default permission 22 // temp dir name used here 28 // create temp dir 34 echo "-- Unlink file having default permission and its dir having read only permission --\n"; 36 // on windows dir permission is not respected 42 // remove the dir 47 // create the temp dir 65 // remove temp dir 72 -- Unlink file having default permission and its dir having read only permission -- [all …]
|
H A D | rename_variation1.phpt | 21 /* Testing a dir with trailing slash */ 24 /* Testing dir with double trailing slashes */ 37 // create the src dir 39 // rename the src dir to a new dir in dest dir 41 // ensure that dir was renamed 45 // remove the new dir
|
H A D | disk_free_space_variation.phpt | 23 $dir = "/disk_free_space"; 24 mkdir($file_path.$dir); 28 $file_path.$dir, 29 $file_path."/.".$dir, 32 $file_path."".$dir."/", 33 $file_path."/.".$dir."/", 36 $file_path.$dir."//", 37 $file_path."/.".$dir."//", 38 $file_path."/./".$dir."//", 41 $file_path.$dir.chr(0), [all …]
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | scandir_variation9.phpt | 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 7 * Source code: ext/standard/dir.c 21 $dir = dirname(__FILE__) . '/scandir_variation9'; 22 mkdir($dir); 23 @create_files($dir, 2); 29 var_dump( scandir($dir, $sorting_order) ); 32 delete_files($dir, 2); 37 $dir = dirname(__FILE__) . '/scandir_variation9'; 38 rmdir($dir);
|
/PHP-7.0/ext/phar/tests/ |
H A D | 033.phpt | 16 $files['dir/'] = ''; 25 echo "test dir\n"; 26 var_dump($a['dir']->isDir()); 27 var_dump($a['dir']->isReadable()); 28 $a['dir']->chmod(000); 29 var_dump($a['dir']->isReadable()); 30 $a['dir']->chmod(0666); 31 var_dump($a['dir']->isReadable()); 42 test dir
|
/PHP-7.0/tests/security/ |
H A D | open_basedir_glob_variation.phpt | 7 $dir = "globtest1"; 9 mkdir($dir); 11 chdir($dir); 16 $dir = "globtest1"; 18 rmdir($dir);
|
/PHP-7.0/ext/fileinfo/tests/ |
H A D | finfo_file_stream_001.phpt | 12 $zip = __DIR__ . "/resources/dir.zip"; 13 $stream = "zip://" . __DIR__ . "/resources/dir.zip"; 14 $dir = $stream . "#dir/"; 15 $png = $stream . "#dir/test.png"; 19 finfo_file($fp, $dir),
|
/PHP-7.0/build/ |
H A D | config-stubs | 5 dir=$1; shift 6 for stubfile in $dir/*/config0.m4 $dir/*/config.m4 $dir/*/config9.m4; do
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_dir_basic.phpt | 6 $dir = opendir(dirname(__FILE__)); 7 var_dump(stream_get_meta_data($dir)); 8 closedir($dir); 10 $dirObject = dir(dirname(__FILE__)); 25 string(3) "dir" 43 string(3) "dir"
|
/PHP-7.0/ext/wddx/ |
H A D | config.m4 | 9 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 10 [ --with-libxml-dir=DIR WDDX: libxml2 install prefix], no, no) 13 PHP_ARG_WITH(libexpat-dir, libexpat dir for WDDX, 14 [ --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)],no,no) 19 dnl Default to libxml2 if --with-libexpat-dir is not used 32 AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=<DIR>]) 37 dnl Check for expat only if --with-libexpat-dir is used.
|
/PHP-7.0/ext/xml/ |
H A D | config.m4 | 9 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 10 [ --with-libxml-dir=DIR XML: libxml2 install prefix], no, no) 13 PHP_ARG_WITH(libexpat-dir, libexpat install dir, 14 [ --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)], no, no) 19 dnl Default to libxml2 if --with-libexpat-dir is not used. 31 AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=<DIR>]) 36 dnl Check for expat only if --with-libexpat-dir is used.
|
/PHP-7.0/ext/opcache/tests/ |
H A D | revalidate_path_01.phpt | 12 $dir = dirname(__FILE__); 13 $dir1 = "$dir/test1"; 14 $dir2 = "$dir/test2"; 15 $link = "$dir/test"; 18 $main = "$dir/main.php"; 57 $dir = dirname(__FILE__); 58 $dir1 = "$dir/test1"; 59 $dir2 = "$dir/test2"; 60 $link = "$dir/test"; 63 $main = "$dir/main.php";
|
/PHP-7.0/scripts/ |
H A D | php-config.in | 54 --extension-dir) 56 --include-dir) 64 --man-dir) 78 --extension-dir [$extension_dir] 79 --include-dir [$include_dir] 80 --man-dir [$man_dir]
|