xref: /PHP-5.3/Zend/tests/bug47981.phpt (revision 0829cb89)
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(62) "Declaration of c::f() should be compatible with that of b::f()"
18
19
20