/PHP-7.1/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, 143 Error: 2 - mkdir() expects parameter 4 to be resource, float given, %s(%d) 146 Error: 2 - mkdir() expects parameter 4 to be resource, float given, %s(%d) 149 Error: 2 - mkdir() expects parameter 4 to be resource, float given, %s(%d) 152 Error: 2 - mkdir() expects parameter 4 to be resource, float given, %s(%d) 170 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d) 173 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d) 212 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d) 217 --file 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 149 Error: 2 - fopen() expects parameter 4 to be resource, float given, %s(%d) 153 Error: 2 - fopen() expects parameter 4 to be resource, float given, %s(%d) 157 Error: 2 - fopen() expects parameter 4 to be resource, float given, %s(%d) 161 Error: 2 - fopen() expects parameter 4 to be resource, float given, %s(%d) 185 Error: 2 - fopen() expects parameter 4 to be resource, null given, %s(%d) 189 Error: 2 - fopen() expects parameter 4 to be resource, null given, %s(%d) 248 --file resource-- [all …]
|
H A D | rename_variation10.phpt | 7 /* Prototype : bool rename(string old_name, string new_name[, resource context]) 28 //file resource 108 // file resource 109 'file resource' => $fileRes, 151 Error: 2 - rename() expects parameter 3 to be resource, float given, %s(%d) 155 Error: 2 - rename() expects parameter 3 to be resource, float given, %s(%d) 159 Error: 2 - rename() expects parameter 3 to be resource, float given, %s(%d) 187 Error: 2 - rename() expects parameter 3 to be resource, null given, %s(%d) 191 Error: 2 - rename() expects parameter 3 to be resource, null given, %s(%d) 250 --file resource-- [all …]
|
H A D | rmdir_variation2.phpt | 7 /* Prototype : bool rmdir(string dirname[, resource context]) 106 // non stream context resource 142 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d) 146 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d) 150 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d) 154 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d) 158 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d) 162 Error: 2 - rmdir() expects parameter 2 to be resource, array given, %s(%d) 178 Error: 2 - rmdir() expects parameter 2 to be resource, null given, %s(%d) 182 Error: 2 - rmdir() expects parameter 2 to be resource, null given, %s(%d) [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, 148 Error: 2 - file() expects parameter 3 to be resource, float given, %s(%d) 152 Error: 2 - file() expects parameter 3 to be resource, float given, %s(%d) 156 Error: 2 - file() expects parameter 3 to be resource, float given, %s(%d) 160 Error: 2 - file() expects parameter 3 to be resource, float given, %s(%d) 164 Error: 2 - file() expects parameter 3 to be resource, float given, %s(%d) 279 --file stream resource-- [all …]
|
/PHP-7.1/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.1/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() 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() 578 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_rmdir() [all …]
|
/PHP-7.1/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.1/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 146 if (resource == NULL || resource->path == NULL) { in php_ftp_fopen_connect() 148 *presource = resource; in php_ftp_fopen_connect() 153 use_ssl = resource->scheme && (strlen(resource->scheme) > 3) && resource->scheme[3] == 's'; in php_ftp_fopen_connect() 157 resource->port = 21; in php_ftp_fopen_connect() 311 if (resource) { in php_ftp_fopen_connect() 599 if (resource) { in php_stream_url_wrap_ftp() 773 if (resource) { in php_stream_ftp_opendir() 900 if (resource) { in php_stream_ftp_url_stat() 950 if (resource) { in php_stream_ftp_unlink() 1123 if (resource) { in php_stream_ftp_mkdir() [all …]
|
/PHP-7.1/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 131 Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d 136 Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d 141 Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d 146 Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d 151 Warning: scandir() expects parameter 3 to be resource, float 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 [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 143 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 148 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 153 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 158 Warning: opendir() expects parameter 2 to be resource, float 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 137 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 142 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 147 Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d 152 Warning: opendir() expects parameter 2 to be resource, float 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 …]
|
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 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 137 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d 141 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d 145 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d 149 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d 153 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d 169 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d [all …]
|
/PHP-7.1/ext/xml/tests/ |
H A D | xml_get_current_column_number_variation1.phpt | 11 /* Prototype : proto int xml_get_current_column_number(resource parser) 78 // resource data 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… 138 Warning: xml_get_current_column_number() expects parameter 1 to be resource, float given in %s on l… 143 Warning: xml_get_current_column_number() expects parameter 1 to be resource, float given in %s on l… 148 Warning: xml_get_current_column_number() expects parameter 1 to be resource, array given in %s on l… 173 Warning: xml_get_current_column_number() expects parameter 1 to be resource, null given in %s on li… 178 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 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 137 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d 142 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d 147 Warning: xml_get_error_code() expects parameter 1 to be resource, array 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 177 Warning: xml_get_error_code() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_parser_free_variation1.phpt | 11 /* Prototype : proto int xml_parser_free(resource parser) 77 // resource data 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 137 Warning: xml_parser_free() expects parameter 1 to be resource, float given in %s on line %d 142 Warning: xml_parser_free() expects parameter 1 to be resource, float given in %s on line %d 147 Warning: xml_parser_free() expects parameter 1 to be resource, array given in %s on line %d 172 Warning: xml_parser_free() expects parameter 1 to be resource, null given in %s on line %d 177 Warning: xml_parser_free() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_get_current_byte_index_variation1.phpt | 11 /* Prototype : proto int xml_get_current_byte_index(resource parser) 77 // resource data 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… 137 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, float given in %s on line… 142 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, float given in %s on line… 147 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, array given in %s on line… 172 Warning: xml_get_current_byte_index() expects parameter 1 to be resource, null given in %s on line … 177 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_line_number_variation1.phpt | 11 /* Prototype : proto int xml_get_current_line_number(resource parser) 77 // resource data 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… 137 Warning: xml_get_current_line_number() expects parameter 1 to be resource, float given in %s on lin… 142 Warning: xml_get_current_line_number() expects parameter 1 to be resource, float given in %s on lin… 147 Warning: xml_get_current_line_number() expects parameter 1 to be resource, array given in %s on lin… 172 Warning: xml_get_current_line_number() expects parameter 1 to be resource, null given in %s on line… 177 Warning: xml_get_current_line_number() expects parameter 1 to be resource, null given in %s on line… [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 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 138 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d 143 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d 148 Warning: xml_parser_get_option() expects parameter 1 to be resource, array 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 178 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 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 138 Warning: xml_parser_set_option() expects parameter 1 to be resource, float given in %s on line %d 143 Warning: xml_parser_set_option() expects parameter 1 to be resource, float given in %s on line %d 148 Warning: xml_parser_set_option() expects parameter 1 to be resource, array 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 178 Warning: xml_parser_set_option() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | xml_set_unparsed_entity_decl_handler_variation1.phpt | 11 /* Prototype : proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl) 26 function validHandler(resource $parser ,string $data) { 82 // resource data 127 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, float given in … 132 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, float given in … 137 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, float given in … 142 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, float given in … 147 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, float given in … 177 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, null given in %… 182 Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, null given in %… [all …]
|
/PHP-7.1/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 140 Warning: imagecolorallocate() expects parameter 1 to be resource, float given in %s on line %d 145 Warning: imagecolorallocate() expects parameter 1 to be resource, float given in %s on line %d 150 Warning: imagecolorallocate() expects parameter 1 to be resource, float given in %s on line %d 155 Warning: imagecolorallocate() expects parameter 1 to be resource, float 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 …]
|