HEX
Server: LiteSpeed
System: Linux d8 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: wbwebdes (3015)
PHP: 8.1.31
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/wbwebdes/domains/mailing.wb-cloud.nl/public_html/base/vendor/jms/metadata/tests/bootstrap.php
<?php

/*
 * This file is part of the Metadata library.
 *
 *    (C) 2011 Johannes M. Schmitt <[email protected]>
 *
 */

spl_autoload_register(function($class) {
    if (0 === strpos($class, 'Metadata\Tests\\')) {
        $path = __DIR__.'/../tests/'.strtr($class, '\\', '/').'.php';
        if (file_exists($path) && is_readable($path)) {
            require_once $path;

            return true;
        }
    } elseif (0 === strpos($class, 'Metadata\\')) {
        $path = __DIR__.'/../src/'.($class = strtr($class, '\\', '/')).'.php';
        if (file_exists($path) && is_readable($path)) {
            require_once $path;

            return true;
        }
    } elseif (0 === strpos($class, 'Symfony\\')) {
        $path = __DIR__.'/../../symfony/src/'.strtr($class, '\\', '/').'.php';

        if (file_exists($path) && is_readable($path)) {
            require_once $path;

            return true;
        }
    }
});

@include __DIR__ . '/../vendor/autoload.php';