Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 1562) sorted by relevance

12345678910>>...63

/PHP-7.0/ext/standard/tests/file/
H A D007_basic.phpt101 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 Dfgetc_basic.phpt72 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 Dmkdir_variation4.phpt108 // 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 Dfopen_variation4.phpt7 /* 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 Drename_variation10.phpt7 /* 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 Drmdir_variation2.phpt7 /* 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 …]
/PHP-7.0/ext/standard/tests/general_functions/
H A Dproc_open_pipes1.phpt31 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 Dgettype_settype_variation5.phpt19 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.0/ext/phar/
H A Ddirstream.c321 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()
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()
579 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_rmdir()
[all …]
/PHP-7.0/Zend/tests/
H A Dsettype_resource.phpt2 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.0/ext/standard/
H A Dftp_fopen_wrapper.c146 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()
596 if (resource) { in php_stream_url_wrap_ftp()
765 if (resource) { in php_stream_ftp_opendir()
892 if (resource) { in php_stream_ftp_url_stat()
942 if (resource) { in php_stream_ftp_unlink()
1115 if (resource) { in php_stream_ftp_mkdir()
[all …]
/PHP-7.0/ext/standard/tests/dir/
H A Dscandir_variation3.phpt5 /* 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 Dopendir_variation2.phpt5 /* 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 Ddir_variation2.phpt6 * 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.0/ext/xml/tests/
H A Dxml_parser_get_option_variation1.phpt11 /* 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 Dxml_parser_set_option_variation1.phpt11 /* 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 Dxml_get_current_byte_index_variation1.phpt11 /* 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 Dxml_get_current_column_number_variation1.phpt11 /* 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 Dxml_get_current_line_number_variation1.phpt11 /* 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 Dxml_get_error_code_variation1.phpt11 /* 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 Dxml_parser_free_variation1.phpt11 /* 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 Dxml_set_character_data_handler_variation1.phpt11 /* Prototype : proto int xml_set_character_data_handler(resource parser, string hdl)
26 function validHandler(resource $parser ,string $data) {
82 // resource data
127 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, float given in %s on …
132 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, float given in %s on …
137 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, float given in %s on …
142 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, float given in %s on …
147 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, float given in %s on …
177 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, null given in %s on l…
182 Warning: xml_set_character_data_handler() expects parameter 1 to be resource, null given in %s on l…
[all …]
H A Dxml_set_end_namespace_decl_handler_variation1.phpt11 /* Prototype : proto int xml_set_end_namespace_decl_handler(resource parser, string hdl)
26 function validHandler(resource $parser ,string $data) {
82 // resource data
127 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, float given in %s…
132 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, float given in %s…
137 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, float given in %s…
142 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, float given in %s…
147 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, float given in %s…
177 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, null given in %s …
182 Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, null given in %s …
[all …]
H A Dxml_set_notation_decl_handler_variation1.phpt11 /* Prototype : proto int xml_set_notation_decl_handler(resource parser, string hdl)
26 function validHandler(resource $parser ,string $data) {
82 // resource data
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…
142 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, float given in %s on l…
147 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, float given in %s on l…
177 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, null given in %s on li…
182 Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, null given in %s on li…
[all …]
/PHP-7.0/ext/gd/tests/
H A Dimagecolorallocate_variation1.phpt11 /* 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 …]

Completed in 64 milliseconds

12345678910>>...63