/PHP-7.3/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 …]
|
H A D | mkdir_variation4.phpt | 108 // non stream context resource 109 'file resource' => $fileRes, 131 Error: 2 - mkdir() expects parameter 4 to be resource, int given, %s(%d) 134 Error: 2 - mkdir() expects parameter 4 to be resource, int given, %s(%d) 137 Error: 2 - mkdir() expects parameter 4 to be resource, int given, %s(%d) 140 Error: 2 - mkdir() expects parameter 4 to be resource, int given, %s(%d) 176 Error: 2 - mkdir() expects parameter 4 to be resource, bool given, %s(%d) 179 Error: 2 - mkdir() expects parameter 4 to be resource, bool given, %s(%d) 182 Error: 2 - mkdir() expects parameter 4 to be resource, bool given, %s(%d) 217 --file resource-- [all …]
|
H A D | file_variation4.phpt | 5 /* Prototype : array file(string filename [, int flags[, resource context]]) 55 // create a file stream resource 111 // file stream resource 112 'file stream resource' => $file_stream_resource, 132 Error: 2 - file() expects parameter 3 to be resource, int given, %s(%d) 136 Error: 2 - file() expects parameter 3 to be resource, int given, %s(%d) 140 Error: 2 - file() expects parameter 3 to be resource, int given, %s(%d) 144 Error: 2 - file() expects parameter 3 to be resource, int given, %s(%d) 208 Error: 2 - file() expects parameter 3 to be resource, bool given, %s(%d) 279 --file stream resource-- [all …]
|
H A D | fopen_variation4.phpt | 7 /* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource co… 107 //file resource 108 'file resource' => $fileresource 133 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d) 137 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d) 141 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d) 145 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d) 191 Error: 2 - fopen() expects parameter 4 to be resource, bool given, %s(%d) 195 Error: 2 - fopen() expects parameter 4 to be resource, bool given, %s(%d) 244 --file resource-- [all …]
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | proc_open_pipes1.phpt | 31 resource(%d) of type (Unknown) 33 resource(%d) of type (Unknown) 35 resource(%d) of type (Unknown) 37 resource(%d) of type (Unknown) 39 resource(%d) of type (Unknown) 41 resource(%d) of type (Unknown) 43 resource(%d) of type (Unknown) 45 resource(%d) of type (Unknown) 47 resource(%d) of type (Unknown) 49 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.3/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.3/ext/phar/ |
H A D | dirstream.c | 321 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir() 322 if (resource->host && !resource->path) { in phar_wrapper_open_dir() 327 php_url_free(resource); in phar_wrapper_open_dir() 333 php_url_free(resource); in phar_wrapper_open_dir() 349 php_url_free(resource); in phar_wrapper_open_dir() 361 php_url_free(resource); in phar_wrapper_open_dir() 366 php_url_free(resource); in phar_wrapper_open_dir() 404 php_url_free(resource); in phar_wrapper_open_dir() 444 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir() 512 php_url_free(resource); in phar_wrapper_mkdir() [all …]
|
/PHP-7.3/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.3/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 …]
|
/PHP-7.3/ext/standard/tests/dir/ |
H A D | scandir_variation3.phpt | 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 38 // get a resource variable 86 // resource variable 111 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 116 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 121 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 126 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 156 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d 161 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d 166 Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d [all …]
|
H A D | dir_variation2.phpt | 6 * Prototype : object dir(string $directory[, resource $context]) 12 * Passing non resource values to 'context' argument of dir() and see 113 Warning: dir() expects parameter 2 to be resource, int given in %s on line %d 117 Warning: dir() expects parameter 2 to be resource, int given in %s on line %d 121 Warning: dir() expects parameter 2 to be resource, int given in %s on line %d 125 Warning: dir() expects parameter 2 to be resource, int given in %s on line %d 129 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d 133 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d 169 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d 173 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d [all …]
|
H A D | opendir_variation2-win32-mb.phpt | 11 /* Prototype : mixed opendir(string $path[, resource $context]) 47 // get a resource variable 95 // resource variable 123 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 128 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 133 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 138 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 168 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d 173 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d 243 Warning: opendir(): supplied resource is not a valid Stream-Context resource in %s on line %d [all …]
|
H A D | opendir_variation2.phpt | 5 /* Prototype : mixed opendir(string $path[, resource $context]) 41 // get a resource variable 89 // resource variable 117 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 122 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 127 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 132 Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d 162 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d 167 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d 237 Warning: opendir(): supplied resource is not a valid Stream-Context resource in %s on line %d [all …]
|
/PHP-7.3/ext/xml/tests/ |
H A D | xml_get_current_byte_index_variation1.phpt | 11 /* Prototype : proto int xml_get_current_byte_index(resource parser) 77 // resource data 102 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, int given in %s on line %d 107 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, int given in %s on line %d 112 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, int given in %s on line %d 117 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, int given in %s on line %d 122 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, float given in %s on line… 127 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, float given in %s on line… 132 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, float given in %s on line… 172 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, null given in %s on line … [all …]
|
H A D | xml_get_current_column_number_variation1.phpt | 11 /* Prototype : proto int xml_get_current_column_number(resource parser) 78 // resource data 103 Warning: xml_get_current_column_number() expects parameter 1 to be resource, int given in %s on lin… 108 Warning: xml_get_current_column_number() expects parameter 1 to be resource, int given in %s on lin… 113 Warning: xml_get_current_column_number() expects parameter 1 to be resource, int given in %s on lin… 118 Warning: xml_get_current_column_number() expects parameter 1 to be resource, int given in %s on lin… 123 Warning: xml_get_current_column_number() expects parameter 1 to be resource, float given in %s on l… 128 Warning: xml_get_current_column_number() expects parameter 1 to be resource, float given in %s on l… 133 Warning: xml_get_current_column_number() expects parameter 1 to be resource, float given in %s on l… 173 Warning: xml_get_current_column_number() expects parameter 1 to be resource, null given in %s on li… [all …]
|
H A D | xml_get_error_code_variation1.phpt | 11 /* Prototype : proto int xml_get_error_code(resource parser) 77 // resource data 102 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d 107 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d 112 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d 117 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d 122 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d 127 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d 132 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d 172 Warning: xml_get_error_code() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_get_current_line_number_variation1.phpt | 11 /* Prototype : proto int xml_get_current_line_number(resource parser) 77 // resource data 102 Warning: xml_get_current_line_number() expects parameter 1 to be resource, int given in %s on line … 107 Warning: xml_get_current_line_number() expects parameter 1 to be resource, int given in %s on line … 112 Warning: xml_get_current_line_number() expects parameter 1 to be resource, int given in %s on line … 117 Warning: xml_get_current_line_number() expects parameter 1 to be resource, int given in %s on line … 122 Warning: xml_get_current_line_number() expects parameter 1 to be resource, float given in %s on lin… 127 Warning: xml_get_current_line_number() expects parameter 1 to be resource, float given in %s on lin… 132 Warning: xml_get_current_line_number() expects parameter 1 to be resource, float given in %s on lin… 172 Warning: xml_get_current_line_number() expects parameter 1 to be resource, null given in %s on line… [all …]
|
H A D | xml_parser_free_variation1.phpt | 11 /* Prototype : proto int xml_parser_free(resource parser) 77 // resource data 102 Warning: xml_parser_free() expects parameter 1 to be resource, int given in %s on line %d 107 Warning: xml_parser_free() expects parameter 1 to be resource, int given in %s on line %d 112 Warning: xml_parser_free() expects parameter 1 to be resource, int given in %s on line %d 117 Warning: xml_parser_free() expects parameter 1 to be resource, int given in %s on line %d 122 Warning: xml_parser_free() expects parameter 1 to be resource, float given in %s on line %d 127 Warning: xml_parser_free() expects parameter 1 to be resource, float given in %s on line %d 132 Warning: xml_parser_free() expects parameter 1 to be resource, float given in %s on line %d 172 Warning: xml_parser_free() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_parser_get_option_variation1.phpt | 11 /* Prototype : proto int xml_parser_get_option(resource parser, int option) 78 // resource data 103 Warning: xml_parser_get_option() expects parameter 1 to be resource, int given in %s on line %d 108 Warning: xml_parser_get_option() expects parameter 1 to be resource, int given in %s on line %d 113 Warning: xml_parser_get_option() expects parameter 1 to be resource, int given in %s on line %d 118 Warning: xml_parser_get_option() expects parameter 1 to be resource, int given in %s on line %d 123 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d 128 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d 133 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d 173 Warning: xml_parser_get_option() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_parser_set_option_variation1.phpt | 11 /* Prototype : proto int xml_parser_set_option(resource parser, int option, mixed value) 78 // resource data 103 Warning: xml_parser_set_option() expects parameter 1 to be resource, int given in %s on line %d 108 Warning: xml_parser_set_option() expects parameter 1 to be resource, int given in %s on line %d 113 Warning: xml_parser_set_option() expects parameter 1 to be resource, int given in %s on line %d 118 Warning: xml_parser_set_option() expects parameter 1 to be resource, int given in %s on line %d 123 Warning: xml_parser_set_option() expects parameter 1 to be resource, float given in %s on line %d 128 Warning: xml_parser_set_option() expects parameter 1 to be resource, float given in %s on line %d 133 Warning: xml_parser_set_option() expects parameter 1 to be resource, float given in %s on line %d 173 Warning: xml_parser_set_option() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_set_notation_decl_handler_variation1.phpt | 11 /* Prototype : proto int xml_set_notation_decl_handler(resource parser, string hdl) 26 function validHandler(resource $parser ,string $data) { 82 // resource data 107 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, int given in %s on lin… 112 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, int given in %s on lin… 117 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, int given in %s on lin… 122 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, int given in %s on lin… 127 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, float given in %s on l… 132 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, float given in %s on l… 137 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, float given in %s on l… [all …]
|
H A D | xml_set_processing_instruction_handler_variation1.phpt | 11 /* Prototype : proto int xml_set_processing_instruction_handler(resource parser, string hdl) 26 function validHandler(resource $parser ,string $data) { 82 // resource data 107 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, int given in … 112 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, int given in … 117 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, int given in … 122 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, int given in … 127 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, float given i… 132 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, float given i… 137 Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, float given i… [all …]
|
/PHP-7.3/ext/gd/tests/ |
H A D | imagecolorallocate_variation1.phpt | 11 /* Prototype : int imagecolorallocate(resource im, int red, int green, int blue) 104 //resource 105 "file resource" => $fp 120 Warning: imagecolorallocate() expects parameter 1 to be resource, int given in %s on line %d 125 Warning: imagecolorallocate() expects parameter 1 to be resource, int given in %s on line %d 130 Warning: imagecolorallocate() expects parameter 1 to be resource, int given in %s on line %d 135 Warning: imagecolorallocate() expects parameter 1 to be resource, int given in %s on line %d 185 Warning: imagecolorallocate() expects parameter 1 to be resource, null given in %s on line %d 190 Warning: imagecolorallocate() expects parameter 1 to be resource, null given in %s on line %d 263 -- file resource -- [all …]
|