!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/   drwxr-xr-x
Free 13.8 GB of 61.93 GB (22.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     modifier.debug_print_var.php (1.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty debug_print_var modifier plugin
 *
 * Type:     modifier<br>
 * Name:     debug_print_var<br>
 * Purpose:  formats variable contents for display in the console
 * @link http://smarty.php.net/manual/en/language.modifier.debug.print.var.php
 *          debug_print_var (Smarty online manual)
 * @param array|object
 * @param integer
 * @param integer
 * @return string
 */
function smarty_modifier_debug_print_var($var$depth 0$length 40)
{
    
$_replace = array("\n"=>'<i>&#92;n</i>'"\r"=>'<i>&#92;r</i>'"\t"=>'<i>&#92;t</i>');
    if (
is_array($var)) {
        
$results "<b>Array (".count($var).")</b>";
        foreach (
$var as $curr_key => $curr_val) {
            
$return smarty_modifier_debug_print_var($curr_val$depth+1$length);
            
$results .= "<br>".str_repeat('&nbsp;'$depth*2)."<b>".strtr($curr_key$_replace)."</b> =&gt; $return";
        }
        return 
$results;
    } else if (
is_object($var)) {
        
$object_vars get_object_vars($var);
        
$results "<b>".get_class($var)." Object (".count($object_vars).")</b>";
        foreach (
$object_vars as $curr_key => $curr_val) {
            
$return smarty_modifier_debug_print_var($curr_val$depth+1$length);
            
$results .= "<br>".str_repeat('&nbsp;'$depth*2)."<b>$curr_key</b> =&gt; $return";
        }
        return 
$results;
    } else {
        if (empty(
$var) && $var != "0") {
            return 
'<i>empty</i>';
        }
        if (
strlen($var) > $length ) {
            
$results substr($var0$length-3).'...';
        } else {
            
$results $var;
        }
        
$results htmlspecialchars($results);
        
$results strtr($results$_replace);
        return 
$results;
    }
}

/* vim: set expandtab: */

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.7991 ]--