home
/
zktecojo
/
public_html
/
vendor
/
nikic
/
php-parser
/
lib
/
PHPParser
➕ New
📤 Upload
✎ Editing:
Autoloader.php
← Back
<?php /** * @codeCoverageIgnore */ class PHPParser_Autoloader { /** * Registers PHPParser_Autoloader as an SPL autoloader. */ static public function register() { ini_set('unserialize_callback_func', 'spl_autoload_call'); spl_autoload_register(array(__CLASS__, 'autoload')); } /** * Handles autoloading of classes. * * @param string $class A class name. */ static public function autoload($class) { if (0 !== strpos($class, 'PHPParser')) { return; } $file = dirname(dirname(__FILE__)) . '/' . strtr($class, '_', '/') . '.php'; if (is_file($file)) { require $file; } } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel