/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug71428.2.phpt
--TEST-- bug #71428.2: inheritance of ye olde dynamic interfaces --SKIPIF-- <?php if (!extension_loaded('pdo')) die("skip PDO is not available"); ?> --FILE-- <?php interface StatementInterface { public function fetch(int $first = PDO::FETCH_BOTH, int $second = PDO::FETCH_ORI_NEXT, int $third = 0); } class Statement extends PDOStatement implements StatementInterface {} interface StatementInterface1 { public function fetch(int $first = PDO::FETCH_ASSOC, int $second = PDO::FETCH_ORI_PRIOR, int $third = 1); } class Statement1 extends PDOStatement implements StatementInterface1 {} echo "ok"; ?> --EXPECT-- ok
Copyright ©2k19 -
Hexid
|
Tex7ure