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

1.1       misho       1: --TEST--
                      2: Test get_extension_funcs() function: basic test
                      3: --FILE--
                      4: <?php
                      5: /* Prototype  : array get_extension_funcs  ( string $module_name  )
                      6:  * Description: Returns an array with the names of the functions of a module.
                      7:  * Source code: Zend/zend_builtin_functions.c
                      8:  * Alias to functions: 
                      9:  */
                     10: 
                     11: echo "Simple testcase for get_extension_funcs() function\n";
                     12: 
                     13: $result = get_extension_funcs("standard");
                     14: var_dump(gettype($result));
                     15: var_dump(in_array("cos", $result));
                     16: 
                     17: ?>
                     18: ===DONE===
                     19: --EXPECTF--
                     20: Simple testcase for get_extension_funcs() function
                     21: string(5) "array"
                     22: bool(true)
                     23: ===DONE===

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