Annotation of embedaddon/php/ext/standard/tests/general_functions/get_resource_type_basic.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test 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: 
                     10: echo "*** Testing get_resource_type() : basic functionality ***\n";
                     11: 
                     12: $res = fopen(__FILE__, "r");
                     13: var_dump(get_resource_type($res)); 
                     14: 
                     15: ?>
                     16: ===DONE===
                     17: --EXPECT--
                     18: *** Testing get_resource_type() : basic functionality ***
                     19: string(6) "stream"
                     20: ===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>