Issue Bug Closed

#55418Class Loader requires "wrong" class files if class string matches naming convention

Helmut Hummel 01/29/14, 11:05 updated 01/26/15, 14:23

Description

If there is a namespaced class \Vendor\Myext\Foo\Bar and the file typo3conf/ext/myext/Classes/Foo/Bar.php are present,
the class loader also requires the file when being called with a class name like “tx_myext_foo_bar” (e.g. triggered by a class_exists() call)

This is a performance overhead but also may lead to duplicate cache entries and may lead to a fatal in certain cases,
especially on case insensitive filesystems.

Instead we should find a solution to not require the file.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.