php-src/ext/zip/tests/oo_ext_zip.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

24 lines
369 B
PHP

--TEST--
Extending Zip class and array property
--EXTENSIONS--
zip
--FILE--
<?php
class myZip extends ZipArchive {
private $test = 0;
public $testp = 1;
private $testarray = array();
public function __construct() {
$this->testarray[] = 1;
var_dump($this->testarray);
}
}
$z = new myZip;
?>
--EXPECT--
array(1) {
[0]=>
int(1)
}