php-src/ext/zip/tests/bug38943.phpt
Pierre Joye f5553f3494 - fix #14962 (makes 2nd argument really optional)
- replace ZEND_ENGINE_2_1 test with PHP_ZIP_USE_OO, version independent
- sync tests with 5.3
2008-11-12 11:24:48 +00:00

38 lines
553 B
PHP

--TEST--
#38943, properties in extended class cannot be set
--SKIPIF--
<?php
/* $Id$ */
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
<?php
include dirname(__FILE__) . '/bug38943.inc';
?>
--EXPECTF--
array(1) {
[0]=>
int(1)
}
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)
}
["status"]=>
int(0)
["statusSys"]=>
int(0)
["numFiles"]=>
int(0)
["filename"]=>
string(0) ""
["comment"]=>
string(0) ""
}