xref: /PHP-7.1/ext/zip/tests/bug38943.inc (revision 03f3b847)
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