Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Extending Zip class and array property --EXTENSIONS-- zip --FILE-- <?php class my..

Decoded Output download

--TEST--
Extending Zip class and array property
--EXTENSIONS--
zip
--FILE--
<?php
class myZip extends ZipArchive {
    private $test = 0;
    public $testp = 1;
    private $testarray = array();

    public function __construct() {
        $this->testarray[] = 1;
        var_dump($this->testarray);
    }
}

$z = new myZip;
?>
--EXPECT--
array(1) {
  [0]=>
  int(1)
}

Did this file decode correctly?

Original Code

--TEST--
Extending Zip class and array property
--EXTENSIONS--
zip
--FILE--
<?php
class myZip extends ZipArchive {
    private $test = 0;
    public $testp = 1;
    private $testarray = array();

    public function __construct() {
        $this->testarray[] = 1;
        var_dump($this->testarray);
    }
}

$z = new myZip;
?>
--EXPECT--
array(1) {
  [0]=>
  int(1)
}

Function Calls

None

Variables

None

Stats

MD5 4f1542f8e225b2c8fa5e2cd260013723
Eval Count 0
Decode Time 84 ms