2006-09-24 22:27:20 +00:00
|
|
|
--TEST--
|
|
|
|
#38943, properties in extended class cannot be set
|
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
|
|
|
/* $Id$ */
|
|
|
|
if(!extension_loaded('zip')) die('skip');
|
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
2008-11-12 11:24:48 +00:00
|
|
|
include dirname(__FILE__) . '/bug38943.inc';
|
2006-09-24 22:27:20 +00:00
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
int(1)
|
|
|
|
}
|
2006-10-31 14:27:09 +00:00
|
|
|
object(myZip)#1 (8) {
|
|
|
|
[u"test":u"myZip":private]=>
|
|
|
|
int(0)
|
|
|
|
[u"testp"]=>
|
|
|
|
unicode(6) "foobar"
|
|
|
|
[u"testarray":u"myZip":private]=>
|
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
int(1)
|
|
|
|
}
|
2008-11-12 11:24:48 +00:00
|
|
|
["status"]=>
|
2006-10-31 14:27:09 +00:00
|
|
|
int(0)
|
2008-11-12 11:24:48 +00:00
|
|
|
["statusSys"]=>
|
2006-10-31 14:27:09 +00:00
|
|
|
int(0)
|
2008-11-12 11:24:48 +00:00
|
|
|
["numFiles"]=>
|
2006-10-31 14:27:09 +00:00
|
|
|
int(0)
|
2008-11-12 11:24:48 +00:00
|
|
|
["filename"]=>
|
2006-10-31 14:27:09 +00:00
|
|
|
string(0) ""
|
2008-11-12 11:24:48 +00:00
|
|
|
["comment"]=>
|
2006-10-31 14:27:09 +00:00
|
|
|
string(0) ""
|
|
|
|
}
|