Home
last modified time | relevance | path

Searched refs:resource (Results 126 – 150 of 1311) sorted by relevance

12345678910>>...53

/PHP-7.4/ext/standard/tests/array/
H A Darray_map_variation5.phpt24 //get a resource variable
60 // array with object, unset variable and resource variable
61 array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp),
65 'resource' => $fp, "int" => 133, "float" => 444.432,
158 ["resource"]=>
159 resource(%d) of type (stream)
170 ["resource"]=>
171 resource(%d) of type (stream)
H A Darray_search_variation4.phpt2 Test array_search() function : usage variations - haystack as resource/multi dimensional array
12 echo "*** Testing resource type with array_search() ***\n";
13 //file type resource
16 //directory type resource
22 // search for resouce type in the resource array
24 //checking for (int) type resource
59 *** Testing resource type with array_search() ***
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() ***
/PHP-7.4/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
/PHP-7.4/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 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 Ddrcp_characterset.phpt34 echo "First and third connections share a resource: NOT OK\n";
42 echo "Second and fourth connections share a resource: NOT OK\n";
55 resource(%d) of type (oci8 connection)
56 resource(%d) of type (oci8 persistent connection)
57 resource(%d) of type (oci8 connection)
58 resource(%d) of type (oci8 persistent connection)
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)
/PHP-7.4/ext/standard/tests/file/
H A D007_variation1.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
37 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
45 resource(%d) of type (stream)
H A D007_variation17.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
37 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
45 resource(%d) of type (stream)
H A D007_variation9.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
37 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
45 resource(%d) of type (stream)
H A Dfread_error.phpt6 Prototype: string fread ( resource $handle [, int $length] );
80 Warning: fread() expects parameter 1 to be resource, string given in %s on line %d
84 Warning: fread() expects parameter 1 to be resource, int given in %s on line %d
88 Warning: fread() expects parameter 1 to be resource, float given in %s on line %d
92 Warning: fread() expects parameter 1 to be resource, bool given in %s on line %d
96 Warning: fread() expects parameter 1 to be resource, array given in %s on line %d
100 Warning: fread() expects parameter 1 to be resource, object given in %s on line %d
106 Warning: fread(): supplied resource is not a valid stream resource in %s on line %d
109 Warning: fread() expects parameter 1 to be resource, null given in %s on line %d
112 Warning: fclose() expects parameter 1 to be resource, null given in %s on line %d
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:
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug46274_2.phpt72 resource(%d) of type (stream)
74 resource(%d) of type (stream)
79 resource(%d) of type (stream)
81 resource(%d) of type (stream)
86 resource(%d) of type (stream)
88 resource(%d) of type (stream)
/PHP-7.4/ext/standard/tests/dir/
H A Dopendir_basic.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
55 resource(%d) of type (stream)
59 resource(%d) of type (stream)
62 resource(%d) of type (Unknown)
63 resource(%d) of type (Unknown)
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_variation11.phpt2 Test sprintf() function : usage variations - float formats with resource values
10 echo "*** Testing sprintf() : float formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
48 *** Testing sprintf() : float formats with resource values ***
H A Dsprintf_variation23.phpt2 Test sprintf() function : usage variations - char formats with resource values
10 echo "*** Testing sprintf() : char formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
47 *** Testing sprintf() : char formats with resource values ***
H A Dsprintf_variation30.phpt2 Test sprintf() function : usage variations - octal formats with resource values
10 echo "*** Testing sprintf() : octal formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
47 *** Testing sprintf() : octal formats with resource values ***
H A Dsprintf_variation42.phpt2 Test sprintf() function : usage variations - unsigned formats with resource values
10 echo "*** Testing sprintf() : unsigned formats with resource values ***\n";
12 // resource type variable
16 // array of resource types
48 *** Testing sprintf() : unsigned formats with resource values ***
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 ***
/PHP-7.4/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.4/ext/standard/tests/filters/
H A Dbug54350.phpt21 Warning: fclose(): 5 is not a valid stream resource in %s on line %d
23 Warning: fclose(): supplied resource is not a valid stream resource in %s on line %d
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

Completed in 27 milliseconds

12345678910>>...53