Home
last modified time | relevance | path

Searched refs:resource (Results 176 – 200 of 1311) sorted by relevance

12345678910>>...53

/PHP-7.4/ext/standard/tests/file/
H A Dfscanf_variation47.phpt2 Test fscanf() function: usage variations - scientific formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different scientific format types */
15 echo "*** Test fscanf(): different scientific format types with resource ***\n";
24 // resource type variable
28 // array of resource types
77 *** Test fscanf(): different scientific format types with resource ***
H A Dfscanf_variation10.phpt2 Test fscanf() function: usage variations - float formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different float format types */
15 echo "*** Test fscanf(): different float format types with resource ***\n";
24 // resource type variable
28 // array of resource types
82 *** Test fscanf(): different float format types with resource ***
H A Dfscanf_variation29.phpt2 Test fscanf() function: usage variations - octal formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different octal format types */
15 echo "*** Test fscanf(): different octal format types with resource ***\n";
24 // resource type variable
28 // array of resource types
82 *** Test fscanf(): different octal format types with resource ***
H A Dfscanf_variation41.phpt2 Test fscanf() function: usage variations - unsigned formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different unsigned format types */
15 echo "*** Test fscanf(): different unsigned format types with resource ***\n";
24 // resource type variable
28 // array of resource types
77 *** Test fscanf(): different unsigned format types with resource ***
H A D007_variation14.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
32 var_dump( get_resource_type($file_handle) ); //Check for the type of resource
38 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
50 resource(%d) of type (stream)
H A D007_variation22.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
32 var_dump( get_resource_type($file_handle) ); //Check for the type of resource
38 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
50 resource(%d) of type (stream)
H A Dis_file_variation3.phpt12 /* Testing is_file() with invalid arguments -int, float, bool, NULL, resource */
36 /* resource */
54 resource(%d) of type (stream): 0
H A D007_variation13-win32.phpt12 Prototype: resource fopen(string $filename, string $mode
13 [, bool $use_include_path [, resource $context]] );
18 Prototype: bool fclose ( resource $handle );
37 var_dump( get_resource_type($file_handle) ); //Check for the type of resource
43 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
56 resource(%d) of type (stream)
H A D007_variation13.phpt12 Prototype: resource fopen(string $filename, string $mode
13 [, bool $use_include_path [, resource $context]] );
18 Prototype: bool fclose ( resource $handle );
37 var_dump( get_resource_type($file_handle) ); //Check for the type of resource
43 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
56 resource(%d) of type (stream)
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug73973.phpt2 Bug #73973 debug_zval_dump() assertion error for resource consts with --enable-debug
9 resource(5) of type (stream) refcount(%d)
/PHP-7.4/ext/standard/tests/dir/
H A Dclosedir_basic.phpt5 /* Prototype : void closedir([resource $dir_handle])
31 echo "\nNo new resource created\n";
50 resource(%d) of type (Unknown)
55 resource(%d) of type (Unknown)
H A Dclosedir_basic-win32-mb.phpt11 /* Prototype : void closedir([resource $dir_handle])
37 echo "\nNo new resource created\n";
56 resource(%d) of type (Unknown)
61 resource(%d) of type (Unknown)
H A Dclosedir_variation2-win32-mb.phpt11 /* Prototype : void closedir([resource $dir_handle])
50 Directory Handle: resource(%d) of type (Unknown)
54 Warning: closedir(): %s is not a valid Directory resource in %s on line %d
56 Directory Handle: resource(%d) of type (Unknown)
/PHP-7.4/ext/oci8/tests/
H A Ddrcp_conn_close2.phpt31 // Compare the resource numbers
34 echo "Both connections share a resource : NOT OK\n";
43 resource(%d) of type (oci8 connection)
44 resource(%d) of type (oci8 connection)
H A Ddrcp_pconn_close2.phpt31 // Compare the resource numbers
34 echo "Both connections share a resource : NOT OK\n";
43 resource(%d) of type (oci8 persistent connection)
44 resource(%d) of type (oci8 persistent connection)
/PHP-7.4/ext/enchant/tests/
H A Denchant_broker_set_dict_path.phpt2 proto bool enchant_broker_set_dict_path(resource broker, int dict_type, string value) function
3 proto string enchant_broker_get_dict_path(resource broker, int dict_type) function
9 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
46 echo("broker is not a resource; failed; \n");
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_csr_export_bacis.phpt38 Warning: openssl_csr_export() expects parameter 1 to be resource, string given in %s on line %d
41 Warning: openssl_csr_export(): supplied resource is not a valid OpenSSL X.509 CSR resource in %s on…
46 Warning: openssl_csr_export() expects parameter 1 to be resource, array given in %s on line %d
H A Dopenssl_pkey_new_error.phpt19 Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s on line %d
21 Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s on line %d
23 Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s on line %d
H A Dopenssl_x509_read_basic.phpt20 var_dump(openssl_x509_read($d)); // read cert from a resource
25 resource(%d) of type (OpenSSL X.509)
26 resource(%d) of type (OpenSSL X.509)
30 resource(%d) of type (OpenSSL X.509)
/PHP-7.4/ext/imap/tests/
H A Dimap_fetchbody_variation5.phpt9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section
16 * Pass different resource types to imap_fetchbody() to test behaviour
36 resource(5) of type (stream)
42 resource(6) of type (stream)
/PHP-7.4/ext/phar/tests/zip/
H A Dphar_begin_setstub_commit.phpt32 // add portion to test setting stub from resource
33 file_put_contents(__DIR__ . '/myfakestub.php', '<?php var_dump("First resource"); Phar::mapPhar("ph…
37 $c = strlen('<?php var_dump("First resource"); Phar::mapPhar("phar_begin_setstub_commit.phar"); __H…
38 file_put_contents(__DIR__ . '/myfakestub.php', '<?php var_dump("First resource"); Phar::mapPhar("ph…
66 string(%d) "<?php var_dump("First resource"); Phar::mapPhar("phar_begin_setstub_commit.phar"); __HA…
68 string(%d) "<?php var_dump("First resource"); Phar::mapPhar("phar_begin_setstub_commit.phar"); __HA…
/PHP-7.4/ext/standard/tests/array/
H A Darray_combine_variation4.phpt22 // get a resource variable
62 // array with object, unset variable and resource variable
63 /*10*/ array(new classA() => 11, @$unset_var => "hello", $fp => 'resource'),
67 $fp => 'resource', 133 => "int", 444.432 => "float",
85 // close the file resource used
175 ["resource"]=>
176 string(8) "resource"
184 ["resource"]=>
185 string(8) "resource"
/PHP-7.4/ext/gd/tests/
H A Dbug66356.phpt31 resource(%d) of type (gd)
32 resource(%d) of type (gd)
44 resource(%d) of type (gd)
45 resource(%d) of type (gd)
/PHP-7.4/ext/ldap/tests/
H A Dldap_bind_ext.phpt48 resource(%d) of type (ldap result)
54 resource(%d) of type (ldap result)
60 resource(%d) of type (ldap result)
66 resource(%d) of type (ldap result)
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_variation17.phpt2 Test sprintf() function : usage variations - string formats with resource values
10 echo "*** Testing sprintf() : string formats with resource values ***\n";
12 // resource type variable
16 // array of resource values
47 *** Testing sprintf() : string formats with resource values ***

Completed in 40 milliseconds

12345678910>>...53