summaryrefslogtreecommitdiffstats
path: root/bug38943.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bug38943.inc')
-rw-r--r--bug38943.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/bug38943.inc b/bug38943.inc
new file mode 100644
index 0000000..a6f45e8
--- /dev/null
+++ b/bug38943.inc
@@ -0,0 +1,16 @@
+<?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);
+