From professional translators, enterprises, web pages and freely available translation repositories.
リソース(resource)
number
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
"resource" (php 4以降)
"resource" (since php 4)
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting
この関数は、指定した resource の型を表す文字列を返しま す。パラメータが有効なリソースでない場合はエラーとなります。
$c = mysql_connect(); echo get_resource_type($c) ."\n"; / / prints: mysql link $fp = fopen("foo" ,"w"); echo get_resource_type($fp) ."\n"; / / prints: file $doc = new_xmldoc("1.0"); echo get_resource_type($doc - doc) ."\n"; / / prints: domxml document
if the requested resource was opened successfully, you should return true, otherwise you should return false
this method is called in response to fwrite() this method is called in response to fwrite() calls on the stream.