From 3eb1c3025252cad7ef82a40eae3c9d6b1daf3c6e Mon Sep 17 00:00:00 2001 From: Michel Sobreira Date: Sat, 5 Jul 2014 17:04:17 -0300 Subject: [PATCH 1/2] Feedback Validating error of function ReflectionExtension --- .../michel.sobreira/ReflectionExtension.phpt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/michel.sobreira/ReflectionExtension.phpt diff --git a/tests/michel.sobreira/ReflectionExtension.phpt b/tests/michel.sobreira/ReflectionExtension.phpt new file mode 100644 index 000000000000..4251b8afe982 --- /dev/null +++ b/tests/michel.sobreira/ReflectionExtension.phpt @@ -0,0 +1,20 @@ +--TEST-- +Feedback Validating error of function ReflectionExtension +--CREDITS-- +Michel Sobreira +--FILE-- + info(); + } + else + { + echo "function does not exist"; + } + + ?> +--EXPECT-- +function does not exist \ No newline at end of file From 38f94b14dd04d0ffe5fe4452f5aaf06c902ab77a Mon Sep 17 00:00:00 2001 From: Michel Sobreira Date: Sat, 5 Jul 2014 17:22:49 -0300 Subject: [PATCH 2/2] Verifying that the Reflection Extension function is validating the parameters correctly --- .../michel.sobreira/ReflectionExtension2.phpt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/michel.sobreira/ReflectionExtension2.phpt diff --git a/tests/michel.sobreira/ReflectionExtension2.phpt b/tests/michel.sobreira/ReflectionExtension2.phpt new file mode 100644 index 000000000000..8ad74af882d2 --- /dev/null +++ b/tests/michel.sobreira/ReflectionExtension2.phpt @@ -0,0 +1,20 @@ +--TEST-- +Verifying that the ReflectionExtension function is validating the parameters correctly +--CREDITS-- +Michel Sobreira +--FILE-- + +--EXPECT-- +correctly \ No newline at end of file