REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.38 KB
Close
//proc/thread-self/root/home/getspomw/royalsquad.us/vendor/maxmind-db/reader/autoload.php
Text
Base64
<?php declare(strict_types=1); /** * PSR-4 autoloader implementation for the MaxMind\DB namespace. * First we define the 'mmdb_autoload' function, and then we register * it with 'spl_autoload_register' so that PHP knows to use it. * * @param mixed $class */ /** * Automatically include the file that defines <code>class</code>. * * @param string $class * the name of the class to load */ function mmdb_autoload($class): void { /* * A project-specific mapping between the namespaces and where * they're located. By convention, we include the trailing * slashes. The one-element array here simply makes things easy * to extend in the future if (for example) the test classes * begin to use one another. */ $namespace_map = ['MaxMind\Db\\' => __DIR__ . '/src/MaxMind/Db/']; foreach ($namespace_map as $prefix => $dir) { // First swap out the namespace prefix with a directory... $path = str_replace($prefix, $dir, $class); // replace the namespace separator with a directory separator... $path = str_replace('\\', '/', $path); // and finally, add the PHP file extension to the result. $path .= '.php'; // $path should now contain the path to a PHP file defining $class if (file_exists($path)) { include $path; } } } spl_autoload_register('mmdb_autoload');
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ext
DIR
-
drwxrwxrwx
2025-09-17 07:10:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
src
DIR
-
drwxrwxrwx
2025-09-17 07:10:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
autoload.php
1.38 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CHANGELOG.md
7.96 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
composer.json
1.30 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LICENSE
11.09 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.xml
2.27 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README.md
4.95 KB
lrw-rw-rw-
2025-05-05 08:26:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).