From 0c0a5df111d16b6aa16345c701ceae650c2bf2c0 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Mon, 12 Feb 2018 15:26:26 -0200 Subject: [PATCH] Test ReflectionClass::getReflectionConstant method --- .../ReflectionClass_getReflectionConstant.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/reflection/tests/ReflectionClass_getReflectionConstant.phpt diff --git a/ext/reflection/tests/ReflectionClass_getReflectionConstant.phpt b/ext/reflection/tests/ReflectionClass_getReflectionConstant.phpt new file mode 100644 index 0000000000..71fd92140f --- /dev/null +++ b/ext/reflection/tests/ReflectionClass_getReflectionConstant.phpt @@ -0,0 +1,13 @@ +--TEST-- +Test ReflectionClass::getReflectionConstant method +--CREDITS-- +Gabriel Caruso (carusogabriel34@gmail.com) +--FILE-- +getReflectionConstant('IS_IMPLICIT_ABSTRACT'))); +var_dump($refleClass->getReflectionConstant('FOO_BAR')); +?> +--EXPECT-- +string(6) "object" +bool(false) -- 2.50.1