From fada257def560fdea281a16ce4e2569fd3444f9f Mon Sep 17 00:00:00 2001 From: andy wharmby Date: Sun, 14 Jun 2009 13:49:18 +0000 Subject: Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. --- Zend/tests/function_exists_basic.phpt | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Zend/tests/function_exists_basic.phpt (limited to 'Zend/tests/function_exists_basic.phpt') diff --git a/Zend/tests/function_exists_basic.phpt b/Zend/tests/function_exists_basic.phpt new file mode 100644 index 0000000000..469e3d8c9a --- /dev/null +++ b/Zend/tests/function_exists_basic.phpt @@ -0,0 +1,39 @@ +--TEST-- +function_exists function : basic functionality +--FILE-- + +===Done=== +--EXPECT-- +*** Testing function_exists() : basic functionality *** +Internal function: bool(true) +User defined function: bool(true) +Case sensitivity: bool(true) +Non existent function: bool(false) +Method: bool(false) +===Done=== -- cgit v1.2.1