From 514f54402faeeed8d1129e66ef2072b3cf1b5b22 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 6 Mar 2021 20:05:06 +0000 Subject: [PATCH] #2111 - Enable Reflection class entry detection --- Library/ClassDefinition.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/ClassDefinition.php b/Library/ClassDefinition.php index 56f05a5565..4a3284671b 100644 --- a/Library/ClassDefinition.php +++ b/Library/ClassDefinition.php @@ -1819,7 +1819,7 @@ public function getClassEntryByClassName($className, CompilationContext $compila break; // Reflection - /*case 'reflector': + case 'reflector': $compilationContext->headersManager->add('ext/reflection/php_reflection'); $classEntry = 'reflector_ptr'; break; @@ -1866,7 +1866,7 @@ public function getClassEntryByClassName($className, CompilationContext $compila case 'reflectionzendextension': $compilationContext->headersManager->add('ext/reflection/php_reflection'); $classEntry = 'reflection_zend_extension_ptr'; - break;*/ + break; default: if (!$check) {