From: Antony Dovgal Date: Tue, 21 Nov 2006 11:11:25 +0000 (+0000) Subject: add test for some of builtin funcs X-Git-Tag: RELEASE_1_0_0RC1~952 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0052d291fc067de193734619ac1f411299b73429;p=php add test for some of builtin funcs --- diff --git a/Zend/tests/017.phpt b/Zend/tests/017.phpt new file mode 100644 index 0000000000..1c6513916f --- /dev/null +++ b/Zend/tests/017.phpt @@ -0,0 +1,120 @@ +--TEST-- +builtin functions tests +--FILE-- + +--EXPECTF-- +Warning: Wrong parameter count for get_resource_type() in %s on line %d +NULL + +Warning: Supplied argument is not a valid resource handle in %s on line %d +bool(false) +string(6) "stream" +string(7) "Unknown" + +Warning: Wrong parameter count for get_loaded_extensions() in %s on line %d +NULL +string(5) "array" +int(%d) + +Warning: Wrong parameter count for get_defined_constants() in %s on line %d +NULL +string(5) "array" +string(5) "array" +int(%d) + +Warning: Wrong parameter count for get_defined_functions() in %s on line %d +NULL +string(5) "array" +int(%d) + +Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d +NULL +string(5) "array" +int(%d) + +Warning: get_extension_funcs() expects exactly 1 parameter, 0 given in %s on line %d +NULL +bool(false) +string(5) "array" +int(%d) +string(5) "array" +int(%d) +Done +--UEXPECTF-- +Warning: Wrong parameter count for get_resource_type() in %s on line %d +NULL + +Warning: Supplied argument is not a valid resource handle in %s on line %d +bool(false) +unicode(6) "stream" +unicode(7) "Unknown" + +Warning: Wrong parameter count for get_loaded_extensions() in %s on line %d +NULL +unicode(5) "array" +int(%d) + +Warning: Wrong parameter count for get_defined_constants() in %s on line %d +NULL +unicode(5) "array" +unicode(5) "array" +int(%d) + +Warning: Wrong parameter count for get_defined_functions() in %s on line %d +NULL +unicode(5) "array" +int(%d) + +Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d +NULL +unicode(5) "array" +int(%d) + +Warning: get_extension_funcs() expects exactly 1 parameter, 0 given in %s on line %d +NULL +bool(false) +unicode(5) "array" +int(%d) +unicode(5) "array" +int(%d) +Done