function simpletest_classloader_register() {
// Prevent duplicate classloader registration.
static $first_run = TRUE;
if (!$first_run) {
return;
}
$first_run = FALSE;
// Only register PSR-0 class loading if we are on PHP 5.3 or higher.
if (version_compare(PHP_VERSION, '5.3') > 0) {
spl_autoload_register('_simpletest_autoload_psr4_psr0');
}
}