Home
last modified time | relevance | path

Searched refs:path (Results 226 – 250 of 847) sorted by relevance

12345678910>>...34

/PHP-7.1/ext/standard/tests/file/
H A Duserstreams_007.phpt6 function stream_open($path, $mode, $openedpath) {
9 public function stream_metadata($path, $option, $var) {
10 echo "metadata: $path, $option\n";
H A Ddirname_basic.phpt12 /* 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 Dreadfile_variation6.phpt2 Test readfile() function : variation - test include path
38 fwrite($h, "File in include path");
49 File in include path
H A Dbasename-win32.phpt14 * 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 Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
39 fwrite($h, "File in include path");
50 File in include path
H A Ddirname_basic-win32.phpt12 /* 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 Dbug60455_03.phpt9 function stream_open($path, $mode, $options, &$opened_path) {
11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
12 if ($path == "test://eofafter2nd")
H A Dstream_get_meta_data_file_variation4.phpt2 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 Dutil.c177 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 Dstreams.c152 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 Dsession_save_path_variation2.phpt14 * 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 Dsession_save_path_variation5.phpt17 * 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 Dtest007.phpt10 function check_dirname($path) {
12 $path1 = str_replace("%",$s,$path);
15 print "dirname($path) == $path3\n";
/PHP-7.1/tests/security/
H A Dopen_basedir_file_put_contents.phpt32 …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 Dtest_cp874_0.phpt38 $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 Dtest_long_path_2.phpt2 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 Dbug68917.phpt13 [path] => /hi
20 [path] => /hi
/PHP-7.1/ext/
H A Dext_skel_win32.php21 $path = getenv("PATH"); variable
22 putenv("PATH=$cygwin_path;$path");
/PHP-7.1/ext/spl/examples/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.1/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.1/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/PHP-7.1/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
/PHP-7.1/ext/standard/tests/general_functions/
H A Dinclude_path.phpt23 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 Ddba_qdbm.c46 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 Ddirname_basic.phpt5 /* 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 */

Completed in 47 milliseconds

12345678910>>...34