blob: bdd73c01a80e245de9b62ab0c7f32a7269d13e8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
class php_user_filter#2
--FILE--
<?php
class foo extends php_user_filter {
function filter($in, $out, $consumed, $closing) {}
function onCreate() {}
function onClose() {}
}
?>
--EXPECTF--
Warning: Declaration of foo::filter($in, $out, $consumed, $closing) should be compatible with php_user_filter::filter($in, $out, &$consumed, $closing) in %s on line %d
|