Home
last modified time | relevance | path

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

12345678910>>...33

/PHP-7.4/ext/standard/tests/file/
H A Dreadfile_variation6.phpt2 Test readfile() function : variation - test include path
37 fwrite($h, "File in include path");
48 File in include path
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 Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
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 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.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_mkdir.phpt2 Mkdir with path length < 260 and > 248 has be a long path
11 die("skip the starting path length is unsuitable for this test");
H A Dtest_cp874_0.phpt38 $path = __DIR__ . 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.4/
H A Dbuildconf47 PHP_AUTOCONF Overrides the path to autoconf tool.
48 PHP_AUTOCONF=/path/to/autoconf ./buildconf
49 PHP_AUTOHEADER Overrides the path to autoheader tool.
50 PHP_AUTOHEADER=/path/to/autoheader ./buildconf
/PHP-7.4/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…
H A Dopen_basedir_error_log.phpt34 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
37 …ir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on li…
40 …basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on li…
/PHP-7.4/ext/phar/
H A Dutil.c173 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry()
185 entry.filename = estrndup(path, path_len); in phar_mount_entry()
245 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local
310 ret = php_resolve_path(filename, filename_len, path); in phar_find_in_include_path()
311 efree(path); in phar_find_in_include_path()
516 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data()
519 is_dir = (path_len && path[path_len - 1] == '/') ? 1 : 0; in phar_get_or_create_entry_data()
575 phar_add_virtual_dirs(phar, path, path_len); in phar_get_or_create_entry_data()
580 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
1215 phar_unixify_path_separators(path, path_len); in phar_get_entry_info_dir()
[all …]
/PHP-7.4/ext/standard/tests/streams/
H A Dopendir-002.phpt13 $path="ftp://localhost:" . $port."/";
15 $ds=opendir($path);
H A Dopendir-001.phpt13 $path="ftp://localhost:" . $port."/bogusdir";
15 var_dump(opendir($path));
/PHP-7.4/scripts/
H A Dphpize.in88 Invalid source path '$phpdir'. Whitespace is not allowed in source path.
97 Invalid build path '$builddir'. Whitespace is not allowed in build path.
/PHP-7.4/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 */
H A Dbasename_invalid_path.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
11 Description: Given a string containing a path to a file,
H A Dbasename_invalid_path_win.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
11 Description: Given a string containing a path to a file,
H A Ddirname_multi.phpt10 /* Prototype: string dirname ( string $path [, int nb]);
11 Description: Returns directory name component of path.
/PHP-7.4/ext/dba/
H A Ddba_qdbm.c44 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
47 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
50 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
53 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
/PHP-7.4/ext/enchant/tests/
H A Denchant_broker_set_dict_path.phpt36 echo("broker get dict path has failed \n");
40 echo("broker set dict path {$backEndDictType2} has failed \n");
43 echo("broker set dict path {$backEndDictType1} has failed \n");
/PHP-7.4/ext/standard/tests/general_functions/
H A Ddl-full-path-not-supported.phpt2 dl() fails when trying to load full path to module
17 var_dump(dl('/path/to/module'));
/PHP-7.4/ext/standard/tests/dir/
H A Ddir_variation9.phpt19 * have valid and invalid relative path.
50 // open the directory with invalid path
80 ["path"]=>
86 ["path"]=>
92 ["path"]=>
98 ["path"]=>
/PHP-7.4/ext/session/tests/
H A Dsession_save_path_basic.phpt15 * Prototype : string session_save_path([string $path])
16 * Description : Get and/or set the current session save path
/PHP-7.4/sapi/cli/tests/
H A Dbug73630a.phpt20 $path = "/" . str_repeat("x", 16400) . "//example.com";
21 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "$path"));

Completed in 48 milliseconds

12345678910>>...33