xref: /PHP-7.1/ext/zip/tests/bug38943_2.phpt (revision 5dc37b35)
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');
7if (version_compare(PHP_VERSION, "5.3", "<")) die('skip test for5.3+ only');
8?>
9--FILE--
10<?php
11include 'bug38943.inc';
12?>
13--EXPECTF--
14array(1) {
15  [0]=>
16  int(1)
17}
18object(myZip)#1 (%d) {
19  ["test":"myZip":private]=>
20  int(0)
21  ["testp"]=>
22  string(6) "foobar"
23  ["testarray":"myZip":private]=>
24  array(1) {
25    [0]=>
26    int(1)
27  }
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