xref: /PHP-8.0/ext/zip/tests/bug38943.inc (revision f8d79582)
1<?php
2class myZip extends ZipArchive {
3    private $test = 0;
4    public $testp = 1;
5    private $testarray = array();
6
7    public function __construct() {
8        $this->testarray[] = 1;
9        var_dump($this->testarray);
10    }
11}
12
13$z = new myZip;
14$z->testp = "foobar";
15var_dump($z);
16