mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
24 lines
532 B
PHP
24 lines
532 B
PHP
--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($first = null, $second, $third);
|
|
}
|
|
|
|
class Statement extends PDOStatement implements StatementInterface {}
|
|
|
|
interface StatementInterface1 {
|
|
public function fetch($first = null, $second = null, $third = null);
|
|
}
|
|
|
|
class Statement1 extends PDOStatement implements StatementInterface1 {}
|
|
|
|
echo "ok";
|
|
?>
|
|
--EXPECT--
|
|
ok
|
|
|