/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp1254_to_utf8_1.phpt | 2 Test mkdir/rmdir cp1254 to UTF-8 path 23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 28 var_dump(file_exists($path));
|
/PHP-7.1/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 113 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() argument 127 if (strncasecmp("compress.zlib://", path, 16) == 0) { in php_stream_gzopen() 128 path += 16; in php_stream_gzopen() 129 } else if (strncasecmp("zlib:", path, 5) == 0) { in php_stream_gzopen() 130 path += 5; in php_stream_gzopen() 133 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | disk_free_space_variation.phpt | 106 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 109 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 114 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 117 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 122 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 125 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 130 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 133 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
|
H A D | basename_error.phpt | 5 /* Prototype : string basename(string path [, string suffix]) 6 * Description: Returns the filename component of the path 19 $path = 'string_val'; 22 var_dump( basename($path, $suffix, $extra_arg) );
|
H A D | chmod_variation2.phpt | 24 echo "chmod() on a path containing .. and .\n"; 30 echo "\nchmod() on a path containing .. with invalid directories\n"; 45 echo "\nchmod() on a relative path from a different working directory\n"; 65 chmod() on a path containing .. and . 70 chmod() on a path containing .. with invalid directories 84 chmod() on a relative path from a different working directory
|
H A D | dirname_error.phpt | 7 /* Prototype : string dirname(string path) 8 * Description: Returns the directory name component of the path 21 $path = 'string_val'; 23 var_dump( dirname($path, 1, $extra_arg) );
|
H A D | parse_ini_file_variation3.phpt | 2 Test parse_ini_file() function : variation: include path searching 33 $path = get_include_path(); 34 echo "New include path is : " . $path . "\n"; 79 New include path is : %sparse_ini_file_variation3.dir1%sparse_ini_file_variation3.dir2%sparse_ini_f…
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_copy.phpt | 36 Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)… 41 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 46 Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.… 51 Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (… 56 Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)… 61 Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(… 66 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li… 71 Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s)…
|
H A D | open_basedir_opendir.phpt | 30 Warning: opendir(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 35 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 40 Warning: opendir(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 45 Warning: opendir(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 50 Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 55 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 60 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 65 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_unlink.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 35 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 38 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 41 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_file.phpt | 32 Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)… 37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 Warning: file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.… 47 Warning: file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (… 52 Warning: file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)… 57 Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(… 62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 67 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_file_get_contents.phpt | 32 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li… 47 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li… 52 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li… 57 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 67 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_rename.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 35 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 38 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 41 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | basename_basic.phpt | 5 /* Prototype: string basename ( string $path [, string $suffix] ); 6 Description: Given a string containing a path to a file, 60 foreach ($path_arrays as $path) { 62 if( 1 == count($path) ) { // no suffix provided 63 var_dump( basename($path[0]) ); 64 } else { // path as well as suffix provided, 65 var_dump( basename($path[0], $path[1]) );
|
/PHP-7.1/ext/zlib/tests/ |
H A D | gzfile_variation1.phpt | 31 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 34 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 37 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 40 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d
|
H A D | readgzfile_variation1.phpt | 31 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 34 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 37 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 40 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d
|
/PHP-7.1/ext/opcache/tests/ |
H A D | opcache-1.blacklist | 4 /path/to/foo 5 "/path/to/foo2"
|
H A D | blacklist-win32.phpt | 26 [0] => %c:\path\to\foo 27 [1] => %c:\path\to\foo2 28 [2] => %c:\path\to\bar
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_rinit_hook.c | 27 …STD_PHP_INI_ENTRY("phpdbg.path", "", PHP_INI_SYSTEM | PHP_INI_PERDIR, OnUpdateString, path, zend_p… 59 int len = strlen(PHPDBG_WG(path)) + sizeof(sock.sun_family); in PHP_RINIT_FUNCTION() 63 strcpy(sock.sun_path, PHPDBG_WG(path)); in PHP_RINIT_FUNCTION() 66 …in socket at %s defined by phpdbg.path ini setting. Reason: %s", PHPDBG_WG(path), strerror(errno)); in PHP_RINIT_FUNCTION()
|
/PHP-7.1/ext/sockets/tests/ |
H A D | socket_abstract_path.phpt | 16 $path = "\x00/foo_bar"; 20 socket_bind($servers, $path) or die("Could not bind"); 26 socket_connect($clients, $path) or die("Error connecting"); 31 //"name" => [ "addr" => $path, ],
|
/PHP-7.1/ext/standard/tests/dir/ |
H A D | dir_variation1.phpt | 95 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 100 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 105 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 110 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 115 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 154 Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d 159 Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d 164 Warning: dir() expects parameter 1 to be a valid path, object given in %s on line %d
|
/PHP-7.1/ext/bz2/ |
H A D | php_bz2.h | 53 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const ch… 57 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper)… argument
|
/PHP-7.1/ext/pgsql/tests/ |
H A D | 05large_object.phpt | 58 $path = dirname(__FILE__) . '/'; 60 $oid = pg_lo_import($db, $path . 'php.gif'); 63 @unlink($path . 'php.gif.exported'); 64 pg_lo_export($oid, $path . 'php.gif.exported', $db); 65 if (!file_exists($path . 'php.gif.exported')) { 68 @unlink($path . 'php.gif.exported');
|
/PHP-7.1/ext/session/tests/ |
H A D | 016.phpt | 25 …ssion_start(): Failed to create session data file path. Too short session ID, invalid save_path or… 27 Warning: session_start(): Failed to read session data: files (path: 123;:/really%scompletely:::/inv…
|
/PHP-7.1/ext/phar/tests/ |
H A D | bug13786.phpt | 14 $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . $fname; 15 $phar = new Phar($path); 19 unlink($path);
|