/PHP-7.3/ext/standard/tests/strings/ |
H A D | sprintf_variation48.phpt | 2 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 D | sprintf_variation36.phpt | 2 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 D | fseek_dir_basic.phpt | 21 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 D | ftruncate_error.phpt | 6 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 D | fflush_error.phpt | 6 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 D | fwrite_error.phpt | 6 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 D | 007_variation10.phpt | 7 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 D | 007_variation18.phpt | 7 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 D | 007_variation2.phpt | 7 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 D | array_unshift_variation5.phpt | 24 // 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 D | in_array_variation4.phpt | 2 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 D | array_intersect_variation8.phpt | 22 // 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 D | old_oci_close1.phpt | 20 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 D | drcp_newconnect.phpt | 14 // 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 D | error_bind.phpt | 26 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 D | imp_res_get_close_1.phpt | 61 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 D | imageinterlace_error2.phpt | 2 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 D | imagetruecolortopalette_error2.phpt | 13 $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 D | stream_filter_remove_error.phpt | 10 /* 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 D | deflate_add_error.phpt | 14 $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 D | inflate_add_error.phpt | 13 $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 D | odbc_columnprivileges_001.phpt | 23 resource(%d) of type (odbc result) 25 resource(%d) of type (odbc result) 27 resource(%d) of type (odbc result)
|
H A D | odbc_columns_001.phpt | 23 resource(%d) of type (odbc result) 25 resource(%d) of type (odbc result) 27 resource(%d) of type (odbc result)
|
H A D | odbc_tables_001.phpt | 24 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 D | CertificateGenerator.inc | 7 /** @var resource */ 10 /** @var resource */ 13 /** @var resource|null */ 16 /** @var resource|null */ 31 * @return resource
|