xref: /PHP-8.1/ext/zip/tests/bug38943_2.phpt (revision 74859783)
1--TEST--
2#38943, properties in extended class cannot be set (5.3)
3--EXTENSIONS--
4zip
5--FILE--
6<?php
7include 'bug38943.inc';
8?>
9--EXPECTF--
10array(1) {
11  [0]=>
12  int(1)
13}
14object(myZip)#1 (%d) {
15  ["lastId"]=>
16  int(-1)
17  ["status"]=>
18  int(0)
19  ["statusSys"]=>
20  int(0)
21  ["numFiles"]=>
22  int(0)
23  ["filename"]=>
24  string(0) ""
25  ["comment"]=>
26  string(0) ""
27  ["test":"myZip":private]=>
28  int(0)
29  ["testp"]=>
30  string(6) "foobar"
31  ["testarray":"myZip":private]=>
32  array(1) {
33    [0]=>
34    int(1)
35  }
36}
37