/PHP-5.6/ext/standard/tests/file/ |
H A D | fgets_variation2.phpt | 6 Prototype: string fgets ( resource $handle [, int $length] ); 46 Warning: fgets(): %d is not a valid stream resource in %s on line %d 49 Warning: fgets(): %d is not a valid stream resource in %s on line %d 55 Warning: fgets() expects parameter 1 to be resource, null given in %s on line %d 60 Warning: fgets() expects parameter 1 to be resource, null given in %s on line %d
|
H A D | 007_variation13-win32.phpt | 12 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 D | 007_variation13.phpt | 12 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 D | 007_variation15.phpt | 7 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 D | 007_variation23.phpt | 7 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 D | 007_variation7.phpt | 7 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 D | 007_variation8.phpt | 7 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 D | fscanf_variation22.phpt | 2 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 D | fscanf_variation16.phpt | 2 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 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, 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 D | popen_pclose_error-sunos.phpt | 12 * 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 D | 007_variation16.phpt | 7 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 D | 007_variation24.phpt | 7 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.6/ext/phar/tests/zip/ |
H A D | phar_begin_setstub_commit.phpt | 33 // 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.6/ext/standard/tests/strings/ |
H A D | strrev_variation4.phpt | 20 //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.6/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation5.phpt | 21 // 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 D | array_combine_variation5.phpt | 23 // 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 D | each_variation2.phpt | 34 // 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 D | current_variation2.phpt | 34 // get a resource variable 102 // resource variable 103 /*11*/ 'resource' => array( 153 -- Iteration 11 : resource data -- 154 resource(%d) of type (stream)
|
H A D | end.phpt | 97 echo "\n*** Testing end() on resource type ***\n"; 98 //file type resource 101 //directory type resource 127 /* cleaning resource handles */ 128 fclose( $file_handle ); //file resource handle deleted 129 closedir( $dir_handle ); //dir resource handle deleted 219 *** Testing end() on resource type *** 220 resource(%d) of type (stream) 221 resource(%d) of type (stream)
|
/PHP-5.6/ext/zlib/tests/ |
H A D | gzopen_variation4.phpt | 11 /* 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.6/ext/standard/tests/general_functions/ |
H A D | gettype_settype_basic.phpt | 79 "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 D | is_resource_basic.phpt | 6 * 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.6/ext/standard/tests/network/ |
H A D | fsockopen_basic.phpt | 5 /* 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.6/ext/ldap/tests/ |
H A D | ldap_search_variation6.phpt | 49 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)
|