Skip to content

Commit 950fd99

Browse files
[HttpKernel] Disable inlining on PHP 5
1 parent 22a6a7e commit 950fd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
839839
'file' => $cache->getPath(),
840840
'as_files' => true,
841841
'debug' => $this->debug,
842-
'inline_class_loader_parameter' => !$this->loadClassCache && !class_exists(ClassCollectionLoader::class, false) ? 'container.dumper.inline_class_loader' : null,
842+
'inline_class_loader_parameter' => \PHP_VERSION_ID >= 70000 && !$this->loadClassCache && !class_exists(ClassCollectionLoader::class, false) ? 'container.dumper.inline_class_loader' : null,
843843
));
844844

845845
$rootCode = array_pop($content);

0 commit comments

Comments
 (0)