mirror of
https://github.com/php/php-src.git
synced 2026-04-20 22:41:20 +02:00
37 lines
504 B
PHP
37 lines
504 B
PHP
--TEST--
|
|
#38943, properties in extended class cannot be set (5.3)
|
|
--EXTENSIONS--
|
|
zip
|
|
--FILE--
|
|
<?php
|
|
include 'bug38943.inc';
|
|
?>
|
|
--EXPECTF--
|
|
array(1) {
|
|
[0]=>
|
|
int(1)
|
|
}
|
|
object(myZip)#1 (%d) {
|
|
["lastId"]=>
|
|
int(-1)
|
|
["status"]=>
|
|
int(0)
|
|
["statusSys"]=>
|
|
int(0)
|
|
["numFiles"]=>
|
|
int(0)
|
|
["filename"]=>
|
|
string(0) ""
|
|
["comment"]=>
|
|
string(0) ""
|
|
["test":"myZip":private]=>
|
|
int(0)
|
|
["testp"]=>
|
|
string(6) "foobar"
|
|
["testarray":"myZip":private]=>
|
|
array(1) {
|
|
[0]=>
|
|
int(1)
|
|
}
|
|
}
|