2006-09-24 22:27:57 +00:00
|
|
|
--TEST--
|
2008-05-21 09:27:41 +00:00
|
|
|
#38943, properties in extended class cannot be set (< 5.3)
|
2006-09-24 22:27:57 +00:00
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
|
|
|
/* $Id$ */
|
|
|
|
if(!extension_loaded('zip')) die('skip');
|
2008-05-21 09:27:41 +00:00
|
|
|
if (!defined('PHP_VERSION_MAJOR')) die('skip');
|
2006-09-24 22:27:57 +00:00
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
2008-05-21 09:27:41 +00:00
|
|
|
include dirname(__FILE__) . '/bug38943.inc';
|
2006-09-24 22:27:57 +00:00
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
int(1)
|
|
|
|
}
|
|
|
|
object(myZip)#1 (%d) {
|
2008-05-21 09:27:41 +00:00
|
|
|
["test:private"]=>
|
2006-09-24 22:27:57 +00:00
|
|
|
int(0)
|
|
|
|
["testp"]=>
|
|
|
|
string(6) "foobar"
|
2008-05-21 09:27:41 +00:00
|
|
|
["testarray:private"]=>
|
2006-09-24 22:27:57 +00:00
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
int(1)
|
|
|
|
}
|
|
|
|
["status"]=>
|
|
|
|
int(0)
|
|
|
|
["statusSys"]=>
|
|
|
|
int(0)
|
|
|
|
["numFiles"]=>
|
|
|
|
int(0)
|
|
|
|
["filename"]=>
|
|
|
|
string(0) ""
|
|
|
|
["comment"]=>
|
|
|
|
string(0) ""
|
|
|
|
}
|