/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp1255_1.phpt | 2 Test mkdir/rmdir cp1255 path 26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 31 var_dump(file_exists($path));
|
H A D | test_cp1250_to_utf8_1.phpt | 2 Test mkdir/rmdir UTF-8 path with cp1250 specific symbols 23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 28 var_dump(file_exists($path));
|
H A D | test_cp1252_to_utf8_4.phpt | 2 Test mkdir/rmdir cp1252 to UTF-8 path 23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}3"; 25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 28 var_dump(file_exists($path));
|
H A D | test_cp936_1.phpt | 2 Test mkdir/rmdir cp936 path 26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}5"; 28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 31 var_dump(file_exists($path));
|
H A D | test_cp1252_to_utf8_1.phpt | 2 Test mkdir/rmdir cp1252 to UTF-8 path 23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}3"; 25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 28 var_dump(file_exists($path));
|
H A D | test_cp932_to_utf8_1.phpt | 2 Test mkdir/rmdir cp932 to UTF-8 path 23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 28 var_dump(file_exists($path));
|
H A D | test_big5_1.phpt | 2 Test mkdir/rmdir big5 path 26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}5"; 28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 31 var_dump(file_exists($path));
|
H A D | test_cp1254_1.phpt | 2 Test mkdir/rmdir cp1254 to UTF-8 path 26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 31 var_dump(file_exists($path));
|
/PHP-7.1/ext/spl/examples/ |
H A D | directorytreeiterator.inc | 19 /** Construct from a path. 20 * @param $path directory to iterate 22 function __construct($path) 26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.1/ext/phar/phar/ |
H A D | directorytreeiterator.inc | 19 /** Construct from a path. 20 * @param $path directory to iterate 22 function __construct($path) 26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.1/ext/exif/ |
H A D | test.txt | 65 //error_log("search_file($root,$path)",0); 66 if ($dir = @opendir($root.$path.'/')) { 88 //error_log("search_file($root$path) add:$path/$found",0); 118 $path = $argv[1]; 120 $path = $_SERVER['SCRIPT_FILENAME']; 121 //error_log("SCRIPT_FILENAME($path)",0); 123 $path = $argv[0]; 124 //error_log("argv($path)",0); 126 if ( ($p=strpos($path,'?')) !== false) $path = substr($path,0,$p); 127 if ( ($p=strrpos($path,'/')) /*< strlen($path)-1*/) $path = substr($path,0,$p); [all …]
|
/PHP-7.1/sapi/phpdbg/tests/ |
H A D | phpdbg_get_executable_stream_wrapper.phpt | 29 string $path, 38 list($scheme, $path) = explode('://', $path, 2); 40 $stream = \fopen($path, $mode); 50 * *actual* path that was opened. This affects the behaviour of 53 $openedPath = \realpath($path);
|
/PHP-7.1/ext/sockets/tests/ |
H A D | socket_cmsg_credentials.phpt | 19 $path = __DIR__ . "/unix_sock"; 20 @unlink($path); 24 $path = __DIR__ . "/unix_sock"; 26 @unlink($path); 36 $br = socket_bind($s, $path) or die("err"); 45 $r = socket_sendto($sends1, $msg = "dread", strlen($msg), 0, $path);
|
H A D | socket_abstract_path_sendmsg.phpt | 16 $path = "\x00/bar_foo"; 24 socket_bind($s, $path) or die("err"); 27 "name" => [ "path" => $path],
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_symlink.phpt | 55 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li… 58 …estriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on li… 61 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li… 64 …estriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on li… 67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 70 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li… 73 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 76 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 79 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_rmdir.phpt | 32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s… 35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path… 38 …edir restriction in effect. File(../bad/../bad) is not within the allowed path(s): (.) in %s on li… 41 …basedir restriction in effect. File(./.././bad) is not within the allowed path(s): (.) in %s on li… 44 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_readlink.phpt | 52 …asedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on li… 55 … restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s on li… 58 …estriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s on li… 61 …edir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on li… 64 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li… 67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 70 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li…
|
/PHP-7.1/ext/session/tests/ |
H A D | session_set_cookie_params_variation3.phpt | 13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo… 21 var_dump(session_set_cookie_params(3600, "/path", "blah")); 25 var_dump(session_set_cookie_params(3600, "/path", "guff")); 29 var_dump(session_set_cookie_params(3600, "/path", "foo"));
|
H A D | session_set_cookie_params_variation5.phpt | 13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo… 21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE)); 25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, TRUE)); 29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
|
H A D | bug61470.phpt | 10 $path = ini_get('session.save_path') . '/sess_'; 13 $file1 = $path . session_id(); 18 $file2 = $path . session_id();
|
/PHP-7.1/ext/phar/tests/ |
H A D | bug77396.phpt | 2 Bug #77396 Relative filename exceeding maximum path length causes null pointer dereference. 7 $path = '../' . str_repeat("x", PHP_MAXPATHLEN) . '.tar'; 8 $phar = new PharData($path);
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | file_put_contents_variation6.phpt | 2 Test file_put_contents() function : variation - include path testing 41 // in the include path. In this case it doesn't so the file should be written in the current dir. 43 file_put_contents($filename, (binary) "File in include path", FILE_USE_INCLUDE_PATH); 54 File in include path. This was appended 55 File in include path. This was appended
|
/PHP-7.1/ext/standard/tests/dir/ |
H A D | scandir_error2.phpt | 12 * Description: List files & directories inside the specified path 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 34 -- Pass scandir() an absolute path that does not exist -- 41 -- Pass scandir() a relative path that does not exist --
|
/PHP-7.1/sapi/litespeed/ |
H A D | lsapi_main.c | 449 path[path_len] = 0; in sapi_lsapi_activate() 454 efree(path); in sapi_lsapi_activate() 617 int len = (int)strlen(path); in pathlen_without_trailing_slash() 681 char *path; member 702 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks() 719 char *path; in lsapi_activate_user_ini_mk_path() local 724 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path() 725 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path() 726 if (!path) in lsapi_activate_user_ini_mk_path() 734 efree(path); in lsapi_activate_user_ini_mk_path() [all …]
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | basename_variation.phpt | 5 /* Prototype: string basename ( string $path [, string $suffix] ); 6 Description: Given a string containing a path to a file, 62 /* path with spaces */ 74 foreach ($path_arrays as $path) { 76 if( 1 == count($path) ) { // no suffix provided 77 var_dump( basename($path[0]) ); 78 } else { // path as well as suffix provided, 79 var_dump( basename($path[0], $path[1]) ); 84 echo "*** Testing possible variations in path and suffix ***\n"; 89 *** Testing possible variations in path and suffix ***
|