Home
last modified time | relevance | path

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

12345678910>>...73

/PHP-7.2/ext/standard/tests/file/
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, integer 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, boolean 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, integer 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, boolean 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, integer 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, 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(): 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)
H A Dfscanf_variation35.phpt2 Test fscanf() function: usage variations - hexa formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different hexa format types */
15 echo "*** Test fscanf(): different hexa format types with resource ***\n";
24 // resource type variable
28 // array of resource types
77 *** Test fscanf(): different hexa format types with resource ***
H A Dfscanf_variation4.phpt2 Test fscanf() function: usage variations - integer formats with resource
7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
11 /* Test fscanf() to scan resource type using different integer format types */
15 echo "*** Test fscanf(): different integer format types with resource ***\n";
25 // resource type variable
29 // array of resource types
78 *** Test fscanf(): different integer format types with resource ***
/PHP-7.2/ext/standard/tests/array/
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.2/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.2/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 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 …
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)
/PHP-7.2/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 boolean, resource given in %s on line …
/PHP-7.2/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.2/ext/openssl/tests/
H A DCertificateGenerator.inc7 /** @var resource */
10 /** @var resource */
13 /** @var resource|null */
16 /** @var resource|null */
31 * @return resource
/PHP-7.2/ext/standard/tests/strings/
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.2/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.2/ext/standard/tests/dir/
H A Ddir_variation3.phpt21 * Prototype : object dir(string $directory[, resource $context])
101 resource(%d) of type (stream)
112 resource(%d) of type (stream)
123 resource(%d) of type (stream)
134 resource(%d) of type (stream)
145 resource(%d) of type (stream)
156 resource(%d) of type (stream)
167 resource(%d) of type (stream)
178 resource(%d) of type (stream)
189 resource(%d) of type (stream)
[all …]

Completed in 84 milliseconds

12345678910>>...73