1--TEST-- 2Test get_resource_type() function : basic functionality 3--FILE-- 4<?php 5/* Prototype : string get_resource_type ( resource $handle ) 6 * Description: Returns the resource type 7 * Source code: Zend/zend_builtin_functions.c 8 */ 9 10echo "*** Testing get_resource_type() : basic functionality ***\n"; 11 12$res = fopen(__FILE__, "r"); 13var_dump(get_resource_type($res)); 14 15?> 16===DONE=== 17--EXPECT-- 18*** Testing get_resource_type() : basic functionality *** 19string(6) "stream" 20===DONE=== 21