joomla/joomla-platform — Issue #862: Platform 11.4 syntax bug
Author: railgt
Created: 2012-02-12 16:02:04+00:00
State: open

Could someone take a look at loader.php _autoload() definition. It seems there is a syntax bug in preg_split.
The actual line looks like that:
$parts = preg_split('/(?>=[a-z])(?=[A-Z])/x', substr($class, 1));
while it should be:
$parts = preg_split('/(?<=[a-z])(?=[A-Z])/x', substr($class, 1));

?<= shall be used for look-behind assertion. Otherwise, the class name split may not work here.