来自专业的译者、企业、网页和免费的翻译库。
リソース(resource)
number
最后更新: 2011-10-24
使用频率: 1
质量:
"resource" (php 4以降)
"resource" (since php 4)
最后更新: 2011-10-24
使用频率: 1
质量:
警告:包含不可见的HTML格式
この関数は、指定した 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