php-src/Zend/tests/bug71428.2.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

23 lines
558 B
PHP

--TEST--
bug #71428.2: inheritance of ye olde dynamic interfaces
--EXTENSIONS--
pdo
--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