Home
last modified time | relevance | path

Searched refs:resource (Results 201 – 225 of 1823) sorted by relevance

12345678910>>...73

/PHP-7.3/ext/standard/tests/strings/
H A Dsprintf_variation48.phpt2 Test sprintf() function : usage variations - scientific formats with resource values
10 echo "*** Testing sprintf() : scientific formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
47 *** Testing sprintf() : scientific formats with resource values ***
H A Dsprintf_variation36.phpt2 Test sprintf() function : usage variations - hexa formats with resource values
10 echo "*** Testing sprintf() : hexa formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
47 *** Testing sprintf() : hexa formats with resource values ***
/PHP-7.3/ext/standard/tests/file/
H A Dfseek_dir_basic.phpt21 echo "\ncall fseek() on directory resource:\n";
30 echo "\ncall fseek() with different arguments on directory resource:\n";
45 resource(%d) of type (stream)
61 call fseek() on directory resource:
79 call fseek() with different arguments on directory resource:
H A Dftruncate_error.phpt6 Prototype: bool ftruncate ( resource $handle, int $size );
93 Warning: ftruncate() expects parameter 1 to be resource, string given in %s on line %d
97 Warning: ftruncate() expects parameter 1 to be resource, int given in %s on line %d
101 Warning: ftruncate() expects parameter 1 to be resource, float given in %s on line %d
105 Warning: ftruncate() expects parameter 1 to be resource, bool given in %s on line %d
109 Warning: ftruncate() expects parameter 1 to be resource, array given in %s on line %d
113 Warning: ftruncate() expects parameter 1 to be resource, object given in %s on line %d
117 Warning: ftruncate(): supplied resource is not a valid stream resource in %s on line %d
121 Warning: ftruncate() expects parameter 1 to be resource, null given in %s on line %d
H A Dfflush_error.phpt6 Prototype: bool fflush ( resource $handle );
64 Warning: fflush() expects parameter 1 to be resource, string given in %s on line %d
68 Warning: fflush() expects parameter 1 to be resource, int given in %s on line %d
72 Warning: fflush() expects parameter 1 to be resource, float given in %s on line %d
76 Warning: fflush() expects parameter 1 to be resource, bool given in %s on line %d
80 Warning: fflush() expects parameter 1 to be resource, array given in %s on line %d
84 Warning: fflush() expects parameter 1 to be resource, object given in %s on line %d
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, int given in %s on line %d
99 Warning: fwrite() expects parameter 1 to be resource, float given in %s on line %d
103 Warning: fwrite() expects parameter 1 to be resource, bool 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(): supplied resource 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 D007_variation10.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
39 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
47 resource(%d) of type (stream)
H A D007_variation18.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
39 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
47 resource(%d) of type (stream)
H A D007_variation2.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
39 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
47 resource(%d) of type (stream)
/PHP-7.3/ext/standard/tests/array/
H A Darray_unshift_variation5.phpt24 // get a resource variable
63 // array with object, unset variable and resource variable
64 array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp),
330 ["resource"]=>
331 resource(%d) of type (stream)
346 ["resource"]=>
347 resource(%d) of type (stream)
361 ["resource"]=>
362 resource(%d) of type (stream)
387 ["resource"]=>
[all …]
H A Din_array_variation4.phpt2 Test in_array() function : usage variations - haystack as resource/multi dimensional array
15 echo "*** Testing resource type with in_array() ***\n";
16 //file type resource
19 //directory type resource
25 // search for resouce type in the resource array
27 //checking for (int) type resource
62 *** Testing resource type with in_array() ***
H A Darray_intersect_variation8.phpt22 // get a resource variable
58 // array with object, unset variable and resource variable
59 /*10*/ array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp),
63 'resource' => $fp, "int" => 133, "float" => 444.432,
85 // close the file resource used
176 resource(%d) of type (stream)
183 resource(%d) of type (stream)
191 resource(%d) of type (stream)
206 resource(%d) of type (stream)
/PHP-7.3/ext/oci8/tests/
H A Dold_oci_close1.phpt20 resource(%d) of type (oci8 connection)
23 Warning: oci_parse(): supplied resource is not a valid oci8 connection resource in %sold_oci_close1…
H A Ddrcp_newconnect.phpt14 // Verify they are different by comparing the resource ids
27 echo "First and second connections share a resource: Not OK\n";
39 resource(%d) of type (oci8 connection)
40 resource(%d) of type (oci8 connection)
H A Derror_bind.phpt26 echo "Test 1 - Assign a resource to the bind variable and execute\n";
30 echo "Test 2 - Re-bind a resource\n";
35 // Use a connection resource instead of a ROWID.
53 Test 1 - Assign a resource to the bind variable and execute
57 Test 2 - Re-bind a resource
63 resource(%d) of type (oci8 connection)
H A Dimp_res_get_close_1.phpt61 Warning: oci_fetch_array(): supplied resource is not a valid oci8 statement resource in %s on line …
64 Warning: oci_fetch_array(): supplied resource is not a valid oci8 statement resource in %s on line …
67 Warning: oci_fetch_array(): supplied resource is not a valid oci8 statement resource in %s on line …
/PHP-7.3/ext/gd/tests/
H A Dimageinterlace_error2.phpt2 Testing resource that is not a image to imageinterlace() of GD library
16 Warning: imageinterlace(): supplied resource is not a valid Image resource in %s on line %d
H A Dimagetruecolortopalette_error2.phpt13 $resource = tmpfile();
15 imagetruecolortopalette($image, $resource, 2);
20 Warning: imagetruecolortopalette() expects parameter 2 to be bool, resource given in %s on line %d
/PHP-7.3/ext/standard/tests/filters/
H A Dstream_filter_remove_error.phpt10 /* Prototype : bool stream_filter_remove(resource stream_filter)
11 …Flushes any data in the filter's internal buffer, removes it from the chain, and frees the resource
33 echo "\n-- Testing stream_filter_remove() function with bad resource --\n";
67 Warning: stream_filter_remove() expects parameter 1 to be resource, string given in %s on line %d
70 -- Testing stream_filter_remove() function with bad resource --
72 Warning: stream_filter_remove(): Invalid resource given, not a stream filter in %s on line %d
78 Warning: stream_filter_remove(): Invalid resource given, not a stream filter in %s on line %d
/PHP-7.3/ext/zlib/tests/
H A Ddeflate_add_error.phpt14 $resource = deflate_init(ZLIB_ENCODING_DEFLATE);
16 var_dump(deflate_add($resource, "test", $badFlushType));
19 Warning: deflate_add(): Invalid deflate resource in %s on line %d
H A Dinflate_add_error.phpt13 $resource = inflate_init(ZLIB_ENCODING_DEFLATE);
15 var_dump(inflate_add($resource, "test", $badFlushType));
18 Warning: inflate_add(): Invalid zlib.inflate resource in %s on line %d
/PHP-7.3/ext/odbc/tests/
H A Dodbc_columnprivileges_001.phpt23 resource(%d) of type (odbc result)
25 resource(%d) of type (odbc result)
27 resource(%d) of type (odbc result)
H A Dodbc_columns_001.phpt23 resource(%d) of type (odbc result)
25 resource(%d) of type (odbc result)
27 resource(%d) of type (odbc result)
H A Dodbc_tables_001.phpt24 resource(%d) of type (odbc result)
26 resource(%d) of type (odbc result)
28 resource(%d) of type (odbc result)
/PHP-7.3/ext/openssl/tests/
H A DCertificateGenerator.inc7 /** @var resource */
10 /** @var resource */
13 /** @var resource|null */
16 /** @var resource|null */
31 * @return resource

Completed in 29 milliseconds

12345678910>>...73