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