cvs: pecl /zip/tests oo_ext_zip.phpt

From: Date: Fri, 17 Mar 2006 12:05:23 +0000
Subject: cvs: pecl /zip/tests oo_ext_zip.phpt
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-5482@lists.php.net to get a copy of this message
pajoye Fri Mar 17 12:05:23 2006 UTC Added files: /pecl/zip/tests oo_ext_zip.phpt Log: - test foo extends zip with array property http://cvs.php.net/viewcvs.cgi/pecl/zip/tests/oo_ext_zip.phpt?view=markup&rev=1.1 Index: pecl/zip/tests/oo_ext_zip.phpt +++ pecl/zip/tests/oo_ext_zip.phpt --TEST-- Extending Zip class and array property --SKIPIF-- <?php if(!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php class myZip extends Zip { private $test = 0; public $testp = 1; private $testarray = array(); public function __construct() { $this->testarray[] = 1; var_dump($this->testarray); } } $z = new myZip; ?> --EXPECTF-- array(1) { [0]=> int(1) }

« previous php.pecl.cvs (#5482) next »