/PHP-7.1/ext/phar/tests/zip/ |
H A D | unixzip.phpt | 17 if (isset($a['notempty/hi.txt'])) { 18 echo $a['notempty/hi.txt']->getPathName() . "\n"; 24 phar://%s/zip.zip%chi.txt 28 phar://%s/zip.zip/notempty%chi.txt
|
/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | write14.phar.inc | 9 var_dump($p["test.txt"]->isCompressed()); 12 var_dump($p["test.txt"]->isCompressed()); 16 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_is_executable.phpt | 12 var_dump(is_executable("ok.txt")); 13 var_dump(is_executable("../ok/ok.txt")); 14 var_dump(is_executable($initdir."/test/ok/ok.txt")); 15 var_dump(is_executable($initdir."/test/ok/../ok/ok.txt")); 35 Warning: is_executable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within th… 50 Warning: is_executable(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not with… 53 Warning: is_executable(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is n…
|
H A D | open_basedir_realpath.phpt | 32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 47 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 50 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 56 string(%d) "%s\test\ok\ok.txt" 57 string(%d) "%s\test\ok\ok.txt" 58 string(%d) "%s\test\ok\ok.txt" 59 string(%d) "%s\test\ok\ok.txt"
|
/PHP-7.1/ext/zip/tests/ |
H A D | oo_delete.phpt | 20 $zip->addFromString('entry1.txt', 'entry #1'); 21 $zip->addFromString('entry2.txt', 'entry #2'); 22 $zip->addFromString('dir/entry2.txt', 'entry #2'); 40 if ($zip->deleteName('entry2.txt')) { 46 if ($zip->deleteName('dir/entry2.txt')) {
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | sha1_file.phpt | 13 if (($handle = fopen( "EmptyFile.txt", "w+")) == FALSE) 17 if (($handle2 = fopen( "DataFile.txt", "w+")) == FALSE) 21 $filename = "DataFile.txt"; 53 var_dump ( sha1_file("EmptyFile.txt", true, NULL) ); 56 var_dump( sha1_file("EmptyFile.txt") ); 59 var_dump( bin2hex(sha1_file("EmptyFile.txt", true))); 62 var_dump( sha1_file("DataFile.txt") ); 65 var_dump ( bin2hex(sha1_file("DataFile.txt", true))); 68 unlink("DataFile.txt"); 69 unlink("EmptyFile.txt");
|
H A D | bug34214.phpt | 5 $txt = 'Zm9vYmFyIG 7 echo base64_decode($txt), "\n";
|
/PHP-7.1/sapi/cli/tests/ |
H A D | 010-2.phpt | 15 $filename_txt = dirname(__FILE__)."/010.test.txt"; 17 $txt = ' 22 file_put_contents($filename_txt, $txt);
|
H A D | bug71624.phpt | 12 $filename_txt = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug71624.test.txt"; 14 $txt = 'foo 19 file_put_contents($filename_txt, $txt);
|
/PHP-7.1/ext/spl/tests/ |
H A D | DirectoryIterator_getBasename_basic_test.phpt | 9 touch($targetDir.DIRECTORY_SEPARATOR.'getBasename_test.txt'); 14 echo $dir->getBasename('.txt'); 19 unlink($targetDir.DIRECTORY_SEPARATOR.'getBasename_test.txt');
|
/PHP-7.1/ext/phar/tests/ |
H A D | phar_extract3.phpt | 38 @unlink($dir . 'stuff.txt'); 39 @unlink($dir . 'nonsense.txt'); 44 phar://%sfiles/notbogus.zip%cnonsense.txt 45 phar://%sfiles/notbogus.zip%cstuff.txt
|
/PHP-7.1/ext/odbc/tests/ |
H A D | bug73725.phpt | 12 odbc_do($conn, "CREATE TABLE bug73725(i int, txt varchar(max), k int)"); 17 $rc = odbc_do($conn, "SELECT i, txt, k FROM bug73725"); 31 ["txt"]=> 39 ["txt"]=>
|
/PHP-7.1/tests/basic/ |
H A D | rfc1867_anonymous_upload.phpt | 10 Content-Disposition: form-data; filename="file1.txt" 15 Content-Disposition: form-data; filename="file2.txt" 30 %string|unicode%(9) "file1.txt" 43 %string|unicode%(9) "file2.txt"
|
H A D | enable_post_data_reading_02.phpt | 8 Content-Disposition: form-data; name="file1"; filename="file1.txt" 25 Content-Disposition: form-data; name="file1"; filename="file1.txt" 31 Content-Disposition: form-data; name="file1"; filename="file1.txt"
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | lchown_basic.phpt | 17 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown_basic.txt'; 18 $symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt'; 32 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown_basic.txt'; 33 $symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt';
|
H A D | pathinfo_basic1-win32.phpt | 467 string(9) "afile.txt" 468 string(3) "txt" 474 string(9) "afile.txt" 476 string(3) "txt" 483 string(6) "txt " 491 string(6) "txt " 498 string(6) "txt " 506 string(6) "txt " 570 string(9) "afile.txt" 571 string(3) "txt" [all …]
|
/PHP-7.1/ext/pdo/tests/ |
H A D | pdo_019.phpt | 17 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))'); 26 $stmt = $db->prepare('SELECT idx, txt FROM test ORDER by idx'); 35 $stmt->bindColumn('txt', $txt); 39 var_dump(array($idx=>$txt));
|
/PHP-7.1/ext/intl/tests/ |
H A D | resourcebundle.build | 9 $dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME); 29 file_put_contents("$here/_files/res_index.txt", $res_index); 31 passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle res_index.txt"); 33 // passthru(ICU_DIR."icupkg -tl -a $here/rb.txt -s $here/_files -d $here/_files new $here/_files/re…
|
/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | bug64506.phpt | 21 $fnw = dirname(__FILE__) . DIRECTORY_SEPARATOR . "š.txt"; // UTF-8 45 getting basename of %s\š.txt 46 string(6) "š.txt" 48 string(%d) "%s\š.txt"
|
/PHP-7.1/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic.phpt | 11 $inputFileName = dirname(__FILE__)."/004.txt.gz"; 18 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d 20 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|
H A D | zlib_scheme_stat_basic2.phpt | 11 $inputFileName = dirname(__FILE__)."/004.txt.gz"; 38 Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d 41 Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d 44 Warning: fileatime(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
|
/PHP-7.1/Zend/tests/ |
H A D | bug38779_1.phpt | 26 @unlink(dirname(__FILE__)."/bug38779.txt"); 33 $filename = dirname(__FILE__)."/bug38779.txt"; 45 $filename = dirname(__FILE__)."/bug38779.txt"; 47 @unlink(dirname(__FILE__)."/bug38779.txt");
|
/PHP-7.1/ext/ftp/tests/ |
H A D | ftp_nb_fget_basic2.phpt | 18 $local_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_nb_fget_basic2.txt"; 22 var_dump(ftp_nb_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, FTP_AUTORESUME)); 27 @unlink(dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_nb_fget_basic2.txt");
|
H A D | ftp_nb_fget_basic3.phpt | 18 $local_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_nb_fget_basic3.txt"; 22 var_dump(ftp_nb_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, 8)); 27 @unlink(dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_nb_fget_basic3.txt");
|
H A D | ftp_fget_basic2.phpt | 18 $local_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_fget_basic2.txt"; 22 var_dump(ftp_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, FTP_AUTORESUME)); 27 @unlink(dirname(__FILE__) . DIRECTORY_SEPARATOR . "ftp_fget_basic2.txt");
|