/PHP-5.6/ext/standard/tests/dir/ |
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-5.6/ext/phar/ |
H A D | stream.c | 61 php_url *resource; in phar_parse_url() local 87 resource->host = arch; in phar_parse_url() 89 resource->path = entry; in phar_parse_url() 91 if (resource) { in phar_parse_url() 151 return resource; in phar_parse_url() 175 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url() 176 php_url_free(resource); in phar_wrapper_open_url() 299 php_url_free(resource); in phar_wrapper_open_url() 581 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat() 683 php_url *resource; in phar_wrapper_unlink() local [all …]
|
/PHP-5.6/ext/gd/tests/ |
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
|
H A D | imageistruecolor_error1.phpt | 13 $resource = tmpfile(); 16 imageistruecolor($resource); 20 Warning: imageistruecolor() expects parameter 1 to be resource, string given in %s on line %d 22 Warning: imageistruecolor(): supplied resource is not a valid Image resource in %s on line %d 24 Warning: imageistruecolor() expects parameter 1 to be resource, array given in %s on line %d
|
H A D | imagecolordeallocate_error1.phpt | 2 Testing imagecolordeallocate() of GD library with invalid resource type 16 $resource = tmpfile(); 18 $result = imagecolordeallocate($resource, $white); 22 Warning: imagecolordeallocate(): supplied resource is not a valid Image resource in %s on line %d
|
H A D | imagelayereffect_error3.phpt | 2 Testing imagelayereffect() with invalid resource of GD library 13 $resource = tmpfile(); 14 $layer = imagelayereffect($resource, IMG_EFFECT_REPLACE); 17 Warning: imagelayereffect(): supplied resource is not a valid Image resource in %s on line %d
|
/PHP-5.6/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)
|
H A D | imap_fetch_overview_variation1.phpt | 9 /* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) 102 Warning: imap_fetch_overview() expects parameter 1 to be resource, integer given in %s on line %d 107 Warning: imap_fetch_overview() expects parameter 1 to be resource, integer given in %s on line %d 122 Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d 127 Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d 132 Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d 137 Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d 147 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d 152 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d 214 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | imap_fetchheader_variation4.phpt | 2 Test imap_fetchheader() function : usage variations - diff resource types as $stream_id 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 35 resource(%d) of type (stream) 37 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d 41 resource(%d) of type (stream) 43 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d
|
H A D | imap_fetch_overview_variation4.phpt | 9 /* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) 16 * Pass different resource types to imap_fetch_overview() to test behaviour 36 resource(%d) of type (stream) 38 Warning: imap_fetch_overview(): supplied resource is not a valid imap resource in %s on line %d 42 resource(%d) of type (stream) 44 Warning: imap_fetch_overview(): supplied resource is not a valid imap resource in %s on line %d
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | stream_supports_lock.phpt | 34 resource(%d) of type (stream) 36 resource(%d) of type (stream) 38 resource(%d) of type (stream) 40 resource(%d) of type (stream) 42 resource(%d) of type (stream-context) 44 Warning: stream_supports_lock(): supplied resource is not a valid stream resource in %s on line %d
|
H A D | bug30362.phpt | 6 $resource = fopen(dirname(__FILE__).'/bug30362.txt', 'rb'); 8 for ($i = 0; ($i < 10) && !feof($resource); ++$i ) { 10 $line = stream_get_line($resource, 50, $a); 13 fclose($resource);
|
H A D | 007_error.phpt | 8 Prototype: resource fopen(string $filename, string $mode 9 [, bool $use_include_path [, resource $context]] ); 12 Prototype: bool fclose ( resource $handle ); 15 Prototype: bool feof ( resource $handle ) 79 Warning: fclose(): %d is not a valid stream resource in %s on line %d 88 Warning: feof(): %d is not a valid stream resource in %s on line %d 91 Warning: feof() expects parameter 1 to be resource, string given in %s on line %d 114 Warning: feof() expects parameter 1 to be resource, string given in %s on line %d 134 Warning: feof() expects parameter 1 to be resource, double given in %s on line %d 154 Warning: feof() expects parameter 1 to be resource, array given in %s on line %d [all …]
|
/PHP-5.6/ext/oci8/tests/ |
H A D | persistent.phpt | 20 resource(%d) of type (oci8 persistent connection) 21 resource(%d) of type (oci8 persistent connection) 22 resource(%d) of type (oci8 persistent connection) 23 resource(%d) of type (oci8 connection) 24 resource(%d) of type (oci8 connection) 25 resource(%d) of type (oci8 connection)
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | get_resource_type_variation1.phpt | 5 /* Prototype : string get_resource_type ( resource $handle ) 6 * Description: Returns the resource type 42 Warning: get_resource_type() expects parameter 1 to be resource, boolean given in %s on line %d 47 Warning: get_resource_type() expects parameter 1 to be resource, integer given in %s on line %d 52 Warning: get_resource_type() expects parameter 1 to be resource, double given in %s on line %d 57 Warning: get_resource_type() expects parameter 1 to be resource, string given in %s on line %d 62 Warning: get_resource_type() expects parameter 1 to be resource, array given in %s on line %d 67 Warning: get_resource_type() expects parameter 1 to be resource, null given in %s on line %d 72 Warning: get_resource_type() expects parameter 1 to be resource, object given in %s on line %d
|
/PHP-5.6/ext/standard/ |
H A D | url.c | 336 php_url *resource; in PHP_FUNCTION() local 344 if (resource == NULL) { in PHP_FUNCTION() 352 if (resource->scheme != NULL) RETVAL_STRING(resource->scheme, 1); in PHP_FUNCTION() 355 if (resource->host != NULL) RETVAL_STRING(resource->host, 1); in PHP_FUNCTION() 358 if (resource->port != 0) RETVAL_LONG(resource->port); in PHP_FUNCTION() 361 if (resource->user != NULL) RETVAL_STRING(resource->user, 1); in PHP_FUNCTION() 364 if (resource->pass != NULL) RETVAL_STRING(resource->pass, 1); in PHP_FUNCTION() 367 if (resource->path != NULL) RETVAL_STRING(resource->path, 1); in PHP_FUNCTION() 370 if (resource->query != NULL) RETVAL_STRING(resource->query, 1); in PHP_FUNCTION() 373 if (resource->fragment != NULL) RETVAL_STRING(resource->fragment, 1); in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/json/tests/ |
H A D | unsupported_type_error.phpt | 8 $resource = fopen(__FILE__, "r"); 10 var_dump($resource); 12 var_dump(json_encode($resource)); 15 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR)); 20 resource(5) of type (stream)
|
/PHP-5.6/ext/enchant/tests/ |
H A D | bug13181.phpt | 38 resource(%d) of type (enchant_dict) 39 resource(%d) of type (enchant_dict) 40 resource(%d) of type (enchant_broker) 41 resource(%d) of type (enchant_broker) 42 resource(%d) of type (enchant_dict) 43 resource(%d) of type (enchant_dict)
|
/PHP-5.6/ext/zlib/tests/ |
H A D | gzopen_variation3.phpt | 53 // get a resource variable 106 // resource variable 107 'resource' => $fp 129 resource(%d) of type (stream) 132 resource(%d) of type (stream) 135 resource(%d) of type (stream) 138 resource(%d) of type (stream) 141 resource(%d) of type (stream) 160 resource(%d) of type (stream) 163 resource(%d) of type (stream) [all …]
|
/PHP-5.6/ext/xml/tests/ |
H A D | bug35447.phpt | 13 <!ELEMENT bundle (resource)+> 14 <!ELEMENT resource (#PCDATA)> 15 <!ATTLIST resource 20 <resource key="rSeeYou">A bient&244;t</resource> 34 string(8) "resource"
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba015.phpt | 31 echo "Test 3 - fetch both rows from second resource\n"; 37 echo "Test 4 - fetch both rows from first resource\n"; 41 echo "Test 5 - close 2nd resource\n"; 46 echo "Test 6 - query after closing 2nd resource\n"; 64 Test 3 - fetch both rows from second resource 67 Test 4 - fetch both rows from first resource 70 Test 5 - close 2nd resource 71 resource(%d) of type (dba persistent) 72 resource(%d) of type (Unknown) 73 Test 6 - query after closing 2nd resource
|
H A D | dba_db4_018.phpt | 31 echo "Test 3 - fetch both rows from second resource\n"; 37 echo "Test 4 - fetch both rows from first resource\n"; 41 echo "Test 5 - close 2nd resource\n"; 46 echo "Test 6 - query after closing 2nd resource\n"; 64 Test 3 - fetch both rows from second resource 67 Test 4 - fetch both rows from first resource 70 Test 5 - close 2nd resource 71 resource(%d) of type (dba persistent) 72 resource(%d) of type (Unknown) 73 Test 6 - query after closing 2nd resource
|
/PHP-5.6/ext/ldap/tests/ |
H A D | ldap_connect_variation.phpt | 38 resource(%d) of type (ldap link) 39 resource(%d) of type (ldap link) 40 resource(%d) of type (ldap link) 41 resource(%d) of type (ldap link) 42 resource(%d) of type (ldap link) 43 resource(%d) of type (ldap link)
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | finfo_close_error.phpt | 7 /* Prototype : resource finfo_close(resource finfo) 8 * Description: Close fileinfo resource. 25 echo "\n-- Testing finfo_close() function with wrong resource type --\n"; 43 -- Testing finfo_close() function with wrong resource type -- 45 Warning: finfo_close(): supplied resource is not a valid file_info resource in %s on line %d
|