Home
last modified time | relevance | path

Searched refs:resource (Results 26 – 50 of 609) sorted by relevance

12345678910>>...25

/php-src/ext/standard/tests/array/
H A Darray_intersect_assoc_variation7.phpt17 // get a resource variable
53 // array with object, unset variable and resource variable
82 // close the file resource used
175 ["resource"]=>
176 resource(%d) of type (stream)
182 ["resource"]=>
183 resource(%d) of type (stream)
189 ["resource"]=>
190 resource(%d) of type (stream)
199 ["resource"]=>
[all …]
H A Darray_intersect_assoc_variation8.phpt17 // get a resource variable
53 // array with object, unset variable and resource variable
82 // close the file resource used
175 ["resource"]=>
176 resource(%d) of type (stream)
182 ["resource"]=>
183 resource(%d) of type (stream)
189 ["resource"]=>
190 resource(%d) of type (stream)
199 ["resource"]=>
[all …]
H A Darray_intersect_variation7.phpt17 // get a resource variable
53 // array with object, unset variable and resource variable
80 // close the file resource used
169 ["resource"]=>
170 resource(%d) of type (stream)
176 ["resource"]=>
177 resource(%d) of type (stream)
186 ["resource"]=>
187 resource(%d) of type (stream)
199 ["resource"]=>
[all …]
H A Darray_reverse_variation5.phpt18 //get a resource variable
76 // close the file resource used
305 ["resource"]=>
306 resource(%d) of type (stream)
315 ["resource"]=>
316 resource(%d) of type (stream)
325 ["resource"]=>
326 resource(%d) of type (stream)
344 ["resource"]=>
364 ["resource"]=>
[all …]
H A Din_array_variation4.phpt2 Test in_array() function : usage variations - haystack as resource/multi dimensional array
5 /* Test in_array() with haystack as resource and multidimensional arrays */
8 echo "*** Testing resource type with in_array() ***\n";
9 //file type resource
12 //directory type resource
18 // search for resource type in the resource array
20 //checking for (int) type resource
55 *** Testing resource type with in_array() ***
H A Darray_values_variation.phpt12 echo "\n*** Testing array_values() with resource type ***\n";
13 $resource1 = fopen(__FILE__, "r"); // Creating a file resource
14 $resource2 = opendir("."); // Creating a dir resource
39 *** Testing array_values() with resource type ***
42 resource(%d) of type (stream)
44 resource(%d) of type (stream)
H A Darray_values_variation_64bit.phpt12 echo "\n*** Testing array_values() with resource type ***\n";
13 $resource1 = fopen(__FILE__, "r"); // Creating a file resource
14 $resource2 = opendir("."); // Creating a dir resource
38 *** Testing array_values() with resource type ***
41 resource(%d) of type (stream)
43 resource(%d) of type (stream)
H A Darray_search_variation4.phpt2 Test array_search() function : usage variations - haystack as resource/multi dimensional array
6 echo "*** Testing resource type with array_search() ***\n";
7 //file type resource
10 //directory type resource
16 // search for resource type in the resource array
18 //checking for (int) type resource
53 *** Testing resource type with array_search() ***
H A Darray_keys_variation_005.phpt6 echo "\n*** Testing array_keys() with resource type ***\n";
10 /* creating an array with resource types as elements */
18 /* Closing the resource handles */
24 *** Testing array_keys() with resource type ***
/php-src/ext/pdo_pgsql/tests/
H A Dgh9411.phpt2 Bug GH-9411 (PgSQL large object resource is incorrectly closed)
38 resource(%d) of type (stream)
39 resource(%d) of type (Unknown)
40 resource(%d) of type (stream)
41 resource(%d) of type (Unknown)
42 resource(%d) of type (stream)
/php-src/ext/standard/tests/streams/
H A Dbug53427.phpt19 resource(%d) of type (stream)
21 resource(%d) of type (stream)
25 resource(%d) of type (stream)
27 resource(%d) of type (stream)
H A Dstream_get_meta_data_file_error.phpt7 echo "\n-- Testing stream_get_meta_data() function with closed stream resource --\n";
21 -- Testing stream_get_meta_data() function with closed stream resource --
22 stream_get_meta_data(): supplied resource is not a valid stream resource
/php-src/ext/standard/
H A Durl.c323 php_url *resource; in PHP_FUNCTION() local
335 if (resource == NULL) { in PHP_FUNCTION()
343 if (resource->scheme != NULL) RETVAL_STR_COPY(resource->scheme); in PHP_FUNCTION()
346 if (resource->host != NULL) RETVAL_STR_COPY(resource->host); in PHP_FUNCTION()
352 if (resource->user != NULL) RETVAL_STR_COPY(resource->user); in PHP_FUNCTION()
355 if (resource->pass != NULL) RETVAL_STR_COPY(resource->pass); in PHP_FUNCTION()
358 if (resource->path != NULL) RETVAL_STR_COPY(resource->path); in PHP_FUNCTION()
361 if (resource->query != NULL) RETVAL_STR_COPY(resource->query); in PHP_FUNCTION()
364 if (resource->fragment != NULL) RETVAL_STR_COPY(resource->fragment); in PHP_FUNCTION()
381 if (resource->host != NULL) { in PHP_FUNCTION()
[all …]
/php-src/ext/enchant/tests/
H A Dbroker_request_pwl_dict.phpt2 resource enchant_broker_request_pwl_dict(resource $broker, string $filename); function
9 if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
27 echo("broker dict describe is not a resource failed\n");
33 echo("broker is not a resource; failed;\n");
/php-src/ext/libxml/tests/
H A D004.phpt31 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, null given
33 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given
35 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given
37 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, stdClass given
39 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given
/php-src/ext/standard/tests/dir/
H A Dopendir_variation3.phpt21 echo "\nNew resource created\n";
23 echo "\nNo new resource created\n";
38 resource(%d) of type (stream)
41 resource(%d) of type (stream)
43 New resource created
H A Dopendir_variation7.phpt76 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)
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)
H A Dopendir_variation3-win32-mb.phpt27 echo "\nNew resource created\n";
29 echo "\nNo new resource created\n";
44 resource(%d) of type (stream)
47 resource(%d) of type (stream)
49 New resource created
H A Dreaddir_variation5.phpt73 resource(%d) of type (stream)
79 resource(%d) of type (stream)
85 resource(%d) of type (stream)
91 resource(%d) of type (stream)
97 resource(%d) of type (stream)
103 resource(%d) of type (stream)
109 resource(%d) of type (stream)
115 resource(%d) of type (stream)
121 resource(%d) of type (stream)
127 resource(%d) of type (stream)
/php-src/ext/standard/tests/filters/
H A Dstream_filter_remove_error.phpt17 echo "\n-- Testing stream_filter_remove() function with bad resource --\n";
44 -- Testing stream_filter_remove() function with bad resource --
45 stream_filter_remove(): supplied resource is not a valid stream filter resource
49 stream_filter_remove(): supplied resource is not a valid stream filter resource
H A Dbasic.phpt31 resource(%d) of type (stream filter)
34 resource(%d) of type (stream filter)
37 resource(%d) of type (stream filter)
40 resource(%d) of type (stream filter)
42 resource(%d) of type (stream filter)
/php-src/ext/bz2/tests/
H A D004.phpt115 bzread(): supplied resource is not a valid stream resource
116 bzerror(): supplied resource is not a valid stream resource
117 bzerrstr(): supplied resource is not a valid stream resource
118 bzerrno(): supplied resource is not a valid stream resource
/php-src/ext/curl/tests/
H A Dbug72202.phpt22 resource(%d) of type (stream)
23 resource(%d) of type (stream)
24 resource(%d) of type (Unknown)
25 resource(%d) of type (Unknown)
/php-src/ext/zend_test/tests/
H A Dgh10695_1.phpt2 GH-10695: Exceptions in resource dtors during shutdown are caught
11 $resource = zend_test_create_throwing_resource();
14 Caught: Throwing resource destructor called
/php-src/sapi/cli/tests/
H A D022.phpt43 resource(%d) of type (stream)
44 resource(%d) of type (process)
45 resource(%d) of type (stream)
46 resource(%d) of type (stream)
47 resource(%d) of type (stream)

Completed in 24 milliseconds

12345678910>>...25