1--TEST-- 2bug #71428.2: inheritance of ye olde dynamic interfaces 3--SKIPIF-- 4<?php if (!extension_loaded('pdo')) die("skip PDO is not available"); ?> 5--FILE-- 6<?php 7interface StatementInterface { 8 public function fetch($first = null, $second, $third); 9} 10 11class Statement extends PDOStatement implements StatementInterface {} 12 13interface StatementInterface1 { 14 public function fetch($first = null, $second = null, $third = null); 15} 16 17class Statement1 extends PDOStatement implements StatementInterface1 {} 18 19echo "ok"; 20?> 21--EXPECT-- 22ok 23 24