/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | proc_open_pipes1.phpt | 22 resource(%d) of type (Unknown) 24 resource(%d) of type (Unknown) 26 resource(%d) of type (Unknown) 28 resource(%d) of type (Unknown) 30 resource(%d) of type (Unknown) 32 resource(%d) of type (Unknown) 34 resource(%d) of type (Unknown) 36 resource(%d) of type (Unknown) 38 resource(%d) of type (Unknown) 40 resource(%d) of type (Unknown) [all …]
|
H A D | gettype_settype_variation5.phpt | 19 settype() to resource type. 158 /* test conversion to resource type */ 159 $type = "resource"; 188 -- Setting type of data to resource -- 191 2: settype(): Cannot convert to resource type 197 2: settype(): Cannot convert to resource type 203 2: settype(): Cannot convert to resource type 209 2: settype(): Cannot convert to resource type 215 2: settype(): Cannot convert to resource type 221 2: settype(): Cannot convert to resource type [all …]
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | 007_basic.phpt | 101 Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d 104 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d 114 Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d 117 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d 127 Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d 130 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d 140 Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d 143 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d 156 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d 169 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d [all …]
|
H A D | fgetc_basic.phpt | 72 resource(%d) of type (stream) 76 resource(%d) of type (stream) 80 resource(%d) of type (stream) 84 resource(%d) of type (stream) 88 resource(%d) of type (stream) 92 resource(%d) of type (stream) 98 resource(%d) of type (stream) 102 resource(%d) of type (stream) 106 resource(%d) of type (stream) 110 resource(%d) of type (stream) [all …]
|
/PHP-7.4/ext/ftp/tests/ |
H A D | 007.phpt | 2 FTP with bogus resource 51 Warning: ftp_login(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 54 Warning: ftp_pwd(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 57 Warning: ftp_cdup(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 60 Warning: ftp_chdir(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 63 Warning: ftp_exec(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 66 Warning: ftp_raw(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 69 Warning: ftp_mkdir(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 72 Warning: ftp_rmdir(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d 87 Warning: ftp_mlsd(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d [all …]
|
/PHP-7.4/ext/phar/ |
H A D | dirstream.c | 320 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir() 321 if (resource->host && !resource->path) { in phar_wrapper_open_dir() 326 php_url_free(resource); in phar_wrapper_open_dir() 332 php_url_free(resource); in phar_wrapper_open_dir() 348 php_url_free(resource); in phar_wrapper_open_dir() 360 php_url_free(resource); in phar_wrapper_open_dir() 365 php_url_free(resource); in phar_wrapper_open_dir() 403 php_url_free(resource); in phar_wrapper_open_dir() 443 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir() 511 php_url_free(resource); in phar_wrapper_mkdir() [all …]
|
H A D | stream.c | 62 php_url *resource; in phar_parse_url() local 94 if (resource) { in phar_parse_url() 154 return resource; in phar_parse_url() 178 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url() 179 php_url_free(resource); in phar_wrapper_open_url() 185 php_url_free(resource); in phar_wrapper_open_url() 211 php_url_free(resource); in phar_wrapper_open_url() 301 php_url_free(resource); in phar_wrapper_open_url() 568 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat() 664 php_url *resource; in phar_wrapper_unlink() local [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | settype_resource.phpt | 2 casting different variables to resource using settype() 33 settype($var, "resource"); 40 Warning: settype(): Cannot convert to resource type in %s on line %d 43 Warning: settype(): Cannot convert to resource type in %s on line %d 46 Warning: settype(): Cannot convert to resource type in %s on line %d 49 Warning: settype(): Cannot convert to resource type in %s on line %d 52 Warning: settype(): Cannot convert to resource type in %s on line %d 55 Warning: settype(): Cannot convert to resource type in %s on line %d 58 Warning: settype(): Cannot convert to resource type in %s on line %d 62 Warning: settype(): Cannot convert to resource type in %s on line %d [all …]
|
/PHP-7.4/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 143 if (resource == NULL || resource->path == NULL) { in php_ftp_fopen_connect() 150 …use_ssl = resource->scheme && (ZSTR_LEN(resource->scheme) > 3) && ZSTR_VAL(resource->scheme)[3] ==… in php_ftp_fopen_connect() 247 ZSTR_LEN(resource->user) = php_raw_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_ftp_fopen_connect() 264 … ZSTR_LEN(resource->pass) = php_raw_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_ftp_fopen_connect() 308 if (resource) { in php_ftp_fopen_connect() 596 if (resource) { in php_stream_url_wrap_ftp() 770 if (resource) { in php_stream_ftp_opendir() 897 if (resource) { in php_stream_ftp_url_stat() 947 if (resource) { in php_stream_ftp_unlink() 1119 if (resource) { in php_stream_ftp_mkdir() [all …]
|
H A D | http_fopen_wrapper.c | 160 if (resource == NULL) { in php_stream_url_wrap_http_ex() 189 …use_ssl = resource->scheme && (ZSTR_LEN(resource->scheme) > 4) && ZSTR_VAL(resource->scheme)[4] ==… in php_stream_url_wrap_http_ex() 192 resource->port = 443; in php_stream_url_wrap_http_ex() 194 resource->port = 80; in php_stream_url_wrap_http_ex() 401 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex() 530 php_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_stream_url_wrap_http_ex() 536 if (resource->pass) { in php_stream_url_wrap_http_ex() 537 php_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_stream_url_wrap_http_ex() 564 if ((use_ssl && resource->port != 443 && resource->port != 0) || in php_stream_url_wrap_http_ex() 565 (!use_ssl && resource->port != 80 && resource->port != 0)) { in php_stream_url_wrap_http_ex() [all …]
|
/PHP-7.4/ext/curl/tests/ |
H A D | bug72202.phpt | 26 resource(%d) of type (stream) 27 resource(%d) of type (stream) 28 resource(%d) of type (Unknown) 29 resource(%d) of type (Unknown) 30 resource(%d) of type (curl) 31 resource(%d) of type (curl) 32 resource(%d) of type (Unknown) 33 resource(%d) of type (Unknown)
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | scandir_variation3-win32-mb.phpt | 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 44 // get a resource variable 92 // resource variable 117 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 122 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 127 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 132 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 162 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d 167 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d 172 Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d [all …]
|
H A D | scandir_variation8-win32-mb.phpt | 84 resource(%d) of type (stream) 87 resource(%d) of type (stream) 90 resource(%d) of type (stream) 93 resource(%d) of type (stream) 96 resource(%d) of type (stream) 99 resource(%d) of type (stream) 102 resource(%d) of type (stream) 105 resource(%d) of type (stream) 108 resource(%d) of type (stream) 111 resource(%d) of type (stream) [all …]
|
H A D | scandir_variation8.phpt | 78 resource(%d) of type (stream) 81 resource(%d) of type (stream) 84 resource(%d) of type (stream) 87 resource(%d) of type (stream) 90 resource(%d) of type (stream) 93 resource(%d) of type (stream) 96 resource(%d) of type (stream) 99 resource(%d) of type (stream) 102 resource(%d) of type (stream) 105 resource(%d) of type (stream) [all …]
|
H A D | readdir_variation4-win32-mb.phpt | 94 resource(%d) of type (stream) 98 resource(%d) of type (stream) 102 resource(%d) of type (stream) 106 resource(%d) of type (stream) 110 resource(%d) of type (stream) 114 resource(%d) of type (stream) 118 resource(%d) of type (stream) 122 resource(%d) of type (stream) 126 resource(%d) of type (stream) 130 resource(%d) of type (stream) [all …]
|
H A D | readdir_variation4.phpt | 88 resource(%d) of type (stream) 92 resource(%d) of type (stream) 96 resource(%d) of type (stream) 100 resource(%d) of type (stream) 104 resource(%d) of type (stream) 108 resource(%d) of type (stream) 112 resource(%d) of type (stream) 116 resource(%d) of type (stream) 120 resource(%d) of type (stream) 124 resource(%d) of type (stream) [all …]
|
/PHP-7.4/ext/gd/tests/ |
H A D | imagecolorallocatealpha_error1.phpt | 11 $resource = tmpfile(); 13 imagecolorallocatealpha($resource, 255, 255, 255, 50); 19 Warning: imagecolorallocatealpha(): supplied resource is not a valid Image resource in %s on line %d 21 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, %s given in %s on line %d 23 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, array given in %s on line %d 25 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, null given in %s on line %d
|
H A D | imagetruecolortopalette_error1.phpt | 12 $resource = tmpfile(); 14 imagetruecolortopalette($resource, true, 2); 20 Warning: imagetruecolortopalette(): supplied resource is not a valid Image resource in %s on line %d 22 Warning: imagetruecolortopalette() expects parameter 1 to be resource, %s given in %s on line %d 24 Warning: imagetruecolortopalette() expects parameter 1 to be resource, array given in %s on line %d 26 Warning: imagetruecolortopalette() expects parameter 1 to be resource, null given in %s on line %d
|
H A D | imagesetthickness_error1.phpt | 11 $resource = tmpfile(); 15 imagesetthickness($resource, 5); 18 Warning: imagesetthickness() expects parameter 1 to be resource, %s given in %s on line %d 20 Warning: imagesetthickness() expects parameter 1 to be resource, array given in %s on line %d 22 Warning: imagesetthickness(): supplied resource is not a valid Image resource in %s on line %d
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | finfo_open_basic.phpt | 7 /* Prototype : resource finfo_open([int options [, string arg]]) 8 * Description: Create a new fileinfo resource. 35 resource(%d) of type (file_info) 36 resource(%d) of type (file_info) 37 resource(%d) of type (file_info) 38 resource(%d) of type (file_info) 39 resource(%d) of type (file_info) 40 resource(%d) of type (file_info) 41 resource(%d) of type (file_info)
|
/PHP-7.4/ext/zlib/tests/ |
H A D | deflate_init_reuse.phpt | 11 $resource = deflate_init(ZLIB_ENCODING_DEFLATE); 13 deflate_add($resource, $char); 15 deflate_add($resource, "", ZLIB_FINISH); 17 // Now reuse the existing resource after finishing the previous operations ... 21 $compressed .= deflate_add($resource, $char, ZLIB_NO_FLUSH); 23 $compressed .= deflate_add($resource, "", ZLIB_FINISH);
|
H A D | inflate_init_reuse.phpt | 11 $resource = inflate_init(ZLIB_ENCODING_GZIP); 17 $inflated .= inflate_add($resource, $compressed[$i]); 19 $inflated .= inflate_add($resource, "", ZLIB_FINISH); 22 // Now reuse the existing resource after finishing the previous operations ... 25 $inflated .= inflate_add($resource, $compressed[$i]); 27 $inflated .= inflate_add($resource, "", ZLIB_FINISH);
|
/PHP-7.4/ext/imap/tests/ |
H A D | imap_close_variation3.phpt | 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 35 resource(%d) of type (stream) 37 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d 39 resource(%d) of type (stream) 42 resource(%d) of type (stream) 44 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d 46 resource(%d) of type (stream)
|
/PHP-7.4/ext/sockets/tests/ |
H A D | socket_export_stream-2.phpt | 31 Warning: socket_export_stream() expects parameter 1 to be resource, int given in %s on line %d 34 Warning: socket_export_stream() expects parameter 1 to be resource, object given in %s on line %d 37 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d 40 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d 42 resource(%d) of type (Socket) 44 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | stream_select_preserve_keys.phpt | 20 resource(%d) of type (stream) 22 resource(%d) of type (stream) 26 resource(%d) of type (stream) 28 resource(%d) of type (stream) 32 resource(%d) of type (stream) 34 resource(%d) of type (stream)
|