!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/lampp/lib/php/Math/examples/   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:     ex_stats_simple.php (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//
// +----------------------------------------------------------------------+
// | PHP Version 4                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group                                |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available at through the world-wide-web at                           |
// | http://www.php.net/license/2_02.txt.                                 |
// | If you did not receive a copy of the PHP license and are unable to   |
// | obtain it through the world-wide-web, please send a note to          |
// | license@php.net so we can mail you a copy immediately.               |
// +----------------------------------------------------------------------+
// | Authors: Jesus M. Castagnetto <jmcastagnetto@php.net>                |
// +----------------------------------------------------------------------+
//
// $Id: ex_stats_simple.php,v 1.3 2003/01/04 11:55:39 mj Exp $
//

/**
 * @package    Math_Stats
 */

require_once "Math/Stats.php";

// making some data sets
$data = array (2,2.3,4.5,2,2,3.2,5.3,3,4,5,1,6);
$dnulls = array (1.1650,null"foo",0.62680.62680.07510.3516, -0.6965);

// instantiating a Math_Stats object
$s = new Math_Stats();

echo 
"*** Original data set\n";
print_r($data);
$s->setData($data);
echo 
"Basic statistics\n";
print_r($s->calcBasic());

echo 
"\n*** A data set with nulls\n";
print_r($dnulls);

echo 
"Let's generate an error\n";
print_r($s->setData($dnulls));
echo 
"Ignoring nulls and trying again\n";
$s->setNullOption(STATS_IGNORE_NULL);
$s->setData($dnulls);
echo 
"---> data after ignoring (removing) nulls\n";
print_r($s->getData());
echo 
"---> stats\n";
print_r($s->calcBasic());

echo 
"Assuming nulls are zeros and doing a full stats calculation\n";
$s->setNullOption(STATS_USE_NULL_AS_ZERO);
$s->setData($dnulls);
echo 
"---> data after setting nulls to zero\n";
print_r($s->getData());
echo 
"---> stats\n";
print_r($s->calcFull());
?>

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