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