| get_resource_type() | ใช้คืนค่าประเภทของตัวแปร resource |
|---|
function:get_resource_type ( resource );
return type:string
content:ใช้คืนค่าประเภทของตัวแปร resource
example:$conn = mysql_connect(); $fp = fopen ( "bamboo.txt", "w" ); echo get_resource_type ( $conn ); echo get_resource_type ( $fp );