summaryrefslogtreecommitdiff
path: root/ext/zip/tests/bug38943.inc
blob: b04049a1724ded6435090ac58240cc3c5a30a835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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;
$z->testp = "foobar";
var_dump($z);