xref: /PHP-5.6/Zend/tests/bug47981.phpt (revision 114d662d)
1--TEST--
2Bug #47981 (error handler not called regardless)
3--INI--
4error_reporting=0
5--FILE--
6<?php
7function errh($errno, $errstr) {
8	var_dump($errstr);
9}
10set_error_handler("errh");
11
12interface a{}
13class b implements a { function f($a=1) {}}
14class c extends b {function f() {}}
15?>
16--EXPECTF--
17string(60) "Declaration of c::f() should be compatible with b::f($a = 1)"
18