/PHP-7.0/ext/standard/tests/file/ |
H A D | symlink_to_symlink.phpt | 2 symlink() using a relative path, and symlink() to a symlink 18 // symlink to a symlink using a relative path 21 // symlink to a non-existent path 25 // symlink to a regular file using an absolute path 28 // symlink to a symlink using an absolute path
|
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
|
H A D | disk_free_space_variation.phpt | 109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 112 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 120 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 128 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 133 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 136 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) );
|
/PHP-7.0/ext/session/tests/ |
H A D | session_set_cookie_params_variation4.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)); 25 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE)); 29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
|
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();
|
H A D | 016.phpt | 25 …ssion_start(): Failed to create session data file path. Too short session ID, invalid save_path or… 27 …write_close(): Failed to create session data file path. Too short session ID, invalid save_path or…
|
/PHP-7.0/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.0/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.0/ext/spl/tests/ |
H A D | fileobject_005.phpt | 11 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt'; 12 touch($path); 31 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt'; 32 unlink($path);
|
/PHP-7.0/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.0/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.0/ext/sockets/tests/ |
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.0/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…
|
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…
|
/PHP-7.0/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.0/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"; 90 *** Testing possible variations in path and suffix ***
|
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.0/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()
|