/PHP-7.1/ext/standard/tests/file/ |
H A D | userstreams_007.phpt | 6 function stream_open($path, $mode, $openedpath) { 9 public function stream_metadata($path, $option, $var) { 10 echo "metadata: $path, $option\n";
|
H A D | dirname_basic.phpt | 12 /* Prototype : string dirname(string path) 13 * Description: Returns the directory name component of the path 55 foreach ($paths as $path) { 56 var_dump( dirname($path) );
|
H A D | readfile_variation6.phpt | 2 Test readfile() function : variation - test include path 38 fwrite($h, "File in include path"); 49 File in include path
|
H A D | basename-win32.phpt | 14 * proto string basename(string path [, string suffix]) 90 /* path with spaces */ 102 foreach ($path_arrays as $path) { 104 if( 1 == count($path) ) { // no suffix provided 105 var_dump( basename($path[0]) ); 106 } else { // path as well as suffix provided, 107 var_dump( basename($path[0], $path[1]) ); 115 echo "\n*** Testing possible variations in path and suffix ***\n"; 215 *** Testing possible variations in path and suffix ***
|
H A D | file_get_contents_variation1.phpt | 2 Test file_get_contents() function : variation - include path testing 39 fwrite($h, "File in include path"); 50 File in include path
|
H A D | dirname_basic-win32.phpt | 12 /* Prototype : string dirname(string path) 13 * Description: Returns the directory name component of the path 55 foreach ($paths as $path) { 56 var_dump( dirname($path) );
|
/PHP-7.1/ext/standard/tests/streams/ |
H A D | bug60455_03.phpt | 9 function stream_open($path, $mode, $options, &$opened_path) { 11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 12 if ($path == "test://eofafter2nd")
|
H A D | stream_get_meta_data_file_variation4.phpt | 2 stream_get_meta_data() with a relative file path 14 echo "\nChange to file's directory and open with a relative path:\n"; 51 Change to file's directory and open with a relative path:
|
/PHP-7.1/ext/phar/ |
H A D | util.c | 177 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry() 189 entry.filename = estrndup(path, path_len); in phar_mount_entry() 249 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local 314 ret = php_resolve_path(filename, filename_len, path); in phar_find_in_include_path() 315 efree(path); in phar_find_in_include_path() 520 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data() 523 is_dir = (path_len && path[path_len - 1] == '/') ? 1 : 0; in phar_get_or_create_entry_data() 579 phar_add_virtual_dirs(phar, path, path_len); in phar_get_or_create_entry_data() 584 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data() 1219 phar_unixify_path_separators(path, path_len); in phar_get_entry_info_dir() [all …]
|
/PHP-7.1/main/streams/ |
H A D | streams.c | 152 char *tmp = estrdup(path); in php_stream_display_wrapper_errors() 1759 *path_for_open = (char*)path; 1771 protocol = path; 1807 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') { 1809 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') { 1968 if (!path || !*path) { 1972 path_to_open = path; 2024 if (!path || !*path) { 2030 resolved_path = zend_resolve_path(path, (int)strlen(path)); 2039 path_to_open = path; [all …]
|
/PHP-7.1/ext/session/tests/ |
H A D | session_save_path_variation2.phpt | 14 * Prototype : string session_save_path([string $path]) 15 * Description : Get and/or set the current session save path 37 Warning: session_start(): Failed to read session data: files (path: %sblah) in %s on line %d
|
H A D | session_save_path_variation5.phpt | 17 * Prototype : string session_save_path([string $path]) 18 * Description : Get and/or set the current session save path 51 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
|
/PHP-7.1/tests/run-test/ |
H A D | test007.phpt | 10 function check_dirname($path) { 12 $path1 = str_replace("%",$s,$path); 15 print "dirname($path) == $path3\n";
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 37 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 52 …restriction 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/file/windows_mb_path/ |
H A D | test_cp874_0.phpt | 38 $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . $name . ".txt"; 40 file_put_contents($path, "hello" . $i++); 42 get_basename_with_cp($path, 874); 43 var_dump(file_get_contents($path)); 45 unlink($path);
|
H A D | test_long_path_2.phpt | 2 Basic long path test with file I/O, multibyte path and realpath() check 24 /* path doesn't exist at this point! */ 32 /* path exists now, ensure realpath() works! */
|
/PHP-7.1/ext/standard/tests/url/ |
H A D | bug68917.phpt | 13 [path] => /hi 20 [path] => /hi
|
/PHP-7.1/ext/ |
H A D | ext_skel_win32.php | 21 $path = getenv("PATH"); variable 22 putenv("PATH=$cygwin_path;$path");
|
/PHP-7.1/ext/spl/examples/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.1/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.1/ext/zlib/tests/ |
H A D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|
/PHP-7.1/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | include_path.phpt | 23 var_dump(set_include_path(".:/path/to/dir")); 62 string(14) ".:/path/to/dir" 70 Warning: set_include_path() expects parameter 1 to be a valid path, array given in %s on line %d
|
/PHP-7.1/ext/dba/ |
H A D | dba_qdbm.c | 46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC() 49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC() 52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC() 55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | dirname_basic.phpt | 5 /* Prototype: string dirname ( string $path ); 6 Description: Returns directory name component of path. 20 /* path with only files and trailing slashes*/ 31 /* path with file extension and trailing slashes */
|