Home
last modified time | relevance | path

Searched refs:resource (Results 226 – 250 of 1640) sorted by relevance

12345678910>>...66

/PHP-5.5/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 ***
H A Dstrrev_variation4.phpt20 //get the resource
21 $resource = fopen(__FILE__, "r");
67 // resource
68 $resource,
86 fclose($resource); //closing the file handle
174 Warning: strrev() expects parameter 1 to be string, resource given in %s on line %d
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_begin_setstub_commit.phpt33 // add portion to test setting stub from resource
34 file_put_contents(dirname(__FILE__) . '/myfakestub.php', '<?php var_dump("First resource"); Phar::m…
38 $c = strlen('<?php var_dump("First resource"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(…
39 file_put_contents(dirname(__FILE__) . '/myfakestub.php', '<?php var_dump("First resource"); Phar::m…
67 string(93) "<?php var_dump("First resource"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER()…
69 string(93) "<?php var_dump("First resource"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER()…
/PHP-5.5/ext/standard/tests/file/
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)
H A D007_variation15.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
H A D007_variation23.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
H A D007_variation7.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
H A D007_variation8.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
H A Dfscanf_variation22.phpt2 Test fscanf() function: usage variations - char formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different char format types */
15 echo "*** Test fscanf(): different char format types with resource ***\n";
24 // resource type variable
28 // array of resource types
81 *** Test fscanf(): different char format types with resource ***
H A Dfscanf_variation16.phpt2 Test fscanf() function: usage variations - string formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different string format types */
15 echo "*** Test fscanf(): different string format types with resource ***\n";
24 // resource type variable
28 // array of resource types
81 *** Test fscanf(): different string format types with resource ***
H A Dfwrite_error.phpt6 Prototype: int fwrite ( resource $handle,string string, [, int $length] );
91 Warning: fwrite() expects parameter 1 to be resource, string given in %s on line %d
95 Warning: fwrite() expects parameter 1 to be resource, integer given in %s on line %d
99 Warning: fwrite() expects parameter 1 to be resource, double given in %s on line %d
103 Warning: fwrite() expects parameter 1 to be resource, boolean given in %s on line %d
107 Warning: fwrite() expects parameter 1 to be resource, array given in %s on line %d
111 Warning: fwrite() expects parameter 1 to be resource, object given in %s on line %d
115 Warning: fwrite(): %d is not a valid stream resource in %s on line %d
118 Warning: fwrite() expects parameter 1 to be resource, null given in %s on line %d
H A Dpopen_pclose_error-sunos.phpt12 * Prototype: resource popen ( string command, string mode )
15 * Prototype: int pclose ( resource handle );
44 resource(%d) of type (stream)
52 Warning: pclose(): supplied argument is not a valid stream resource in %s on line %d
H A D007_variation16.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
H A D007_variation24.phpt7 Prototype: resource fopen(string $filename, string $mode
8 [, bool $use_include_path [, resource $context]] );
13 Prototype: bool fclose ( resource $handle );
30 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
47 resource(%d) of type (stream)
/PHP-5.5/ext/standard/tests/array/
H A Darray_merge_recursive_variation5.phpt21 // get a resource variable
52 // array with object, unset variable and resource variable
53 /*8*/ array(11 => new classA(), "string" => @$unset_var, "resource" => $fp, new classA(), $fp),
75 // close the file resource used
363 ["resource"]=>
364 resource(%d) of type (stream)
369 resource(%d) of type (stream)
383 ["resource"]=>
384 resource(%d) of type (stream)
389 resource(%d) of type (stream)
H A Darray_combine_variation5.phpt23 // get a resource variable
59 // array with object, unset variable and resource variable
60 /*10*/ array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp),
64 'resource' => $fp, "int" => 133, "float" => 444.432,
77 // close the file resource used
163 resource(%d) of type (stream)
175 resource(%d) of type (stream)
H A Deach_variation2.phpt34 // get a resource variable
102 // resource variable
103 /*11*/ 'resource' => array(
237 -- Iteration 11: resource data --
240 resource(%d) of type (stream)
242 resource(%d) of type (stream)
H A Dcurrent_variation2.phpt34 // get a resource variable
102 // resource variable
103 /*11*/ 'resource' => array(
153 -- Iteration 11 : resource data --
154 resource(%d) of type (stream)
H A Dend_64bit.phpt97 echo "\n*** Testing end() on resource type ***\n";
98 //file type resource
101 //directory type resource
129 /* cleaning resource handles */
130 fclose( $file_handle ); //file resource handle deleted
131 closedir( $dir_handle ); //dir resource handle deleted
220 *** Testing end() on resource type ***
221 resource(%d) of type (stream)
222 resource(%d) of type (stream)
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation4.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
121 Warning: gzpassthru() expects parameter 1 to be resource, boolean given in %s on line %d
123 Warning: gzclose() expects parameter 1 to be resource, boolean given in %s on line %d
128 Warning: gzpassthru() expects parameter 1 to be resource, boolean given in %s on line %d
130 Warning: gzclose() expects parameter 1 to be resource, boolean given in %s on line %d
135 Warning: gzpassthru() expects parameter 1 to be resource, boolean given in %s on line %d
137 Warning: gzclose() expects parameter 1 to be resource, boolean given in %s on line %d
142 Warning: gzpassthru() expects parameter 1 to be resource, boolean given in %s on line %d
144 Warning: gzclose() expects parameter 1 to be resource, boolean given in %s on line %d
149 Warning: gzpassthru() expects parameter 1 to be resource, boolean given in %s on line %d
[all …]
/PHP-5.5/ext/standard/tests/general_functions/
H A Dgettype_settype_basic.phpt79 "resource",
124 string(8) "resource"
125 string(8) "resource"
613 resource(%d) of type (stream)
614 string(8) "resource"
618 resource(%d) of type (stream)
619 string(8) "resource"
719 resource(%d) of type (stream)
726 resource(%d) of type (stream)
827 resource(%d) of type (stream)
[all …]
H A Dis_resource_basic.phpt6 * Description: Finds whether a variable is a resource
39 echo "\nNon-resource type cases\n";
75 Non-resource type cases
86 resource(%d) of type (%s)
90 resource(%d) of type (Unknown)
/PHP-5.5/ext/standard/tests/network/
H A Dfsockopen_basic.phpt5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,…
53 resource(%d) of type (stream)
56 resource(%d) of type (stream)
59 resource(%d) of type (stream)
/PHP-5.5/ext/ldap/tests/
H A Dldap_search_variation6.phpt49 resource(%d) of type (ldap result)
51 resource(%d) of type (ldap result)
216 resource(%d) of type (ldap result)
218 resource(%d) of type (ldap result)
230 resource(%d) of type (ldap result)
232 resource(%d) of type (ldap result)

Completed in 34 milliseconds

12345678910>>...66