diff --git a/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php b/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php index 1543bbfdfa003..bf1d2b9ef3f8c 100644 --- a/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php +++ b/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php @@ -323,6 +323,9 @@ private static function addExtra(&$a, \Reflector $c) $x['line'] = $c->getStartLine().' to '.$c->getEndLine(); } + if (\PHP_VERSION_ID >= 80000) { + unset(self::$extraMap['isDisabled']); + } self::addMap($x, $c, self::$extraMap, ''); if ($x) {