<?php
function m(Bar $x) {
$x->m('Error Processing Request', 10, 1000000000);
}
class Bar {
public function m($message, $code, $timer) {
echo "Bar\n";
}
}
class Foo extends Bar {
public function m($message) {
echo "Foo\n";
parent
::m($message, 0, time()); }
}
m(new Foo);
PD9waHAKZnVuY3Rpb24gbShCYXIgJHgpIHsKICAgICR4LT5tKCdFcnJvciBQcm9jZXNzaW5nIFJlcXVlc3QnLCAxMCwgMTAwMDAwMDAwMCk7Cn0KY2xhc3MgQmFyIHsKICAgIHB1YmxpYyBmdW5jdGlvbiBtKCRtZXNzYWdlLCAkY29kZSwgJHRpbWVyKSB7CiAgICAJZWNobyAiQmFyXG4iOwogICAgICAgIHZhcl9kdW1wKCRtZXNzYWdlLCAkY29kZSwgJHRpbWVyKTsKICAgIH0KfQpjbGFzcyBGb28gZXh0ZW5kcyBCYXIgewogICAgcHVibGljIGZ1bmN0aW9uIG0oJG1lc3NhZ2UpIHsKICAgICAgIGVjaG8gIkZvb1xuIjsKICAgICAgIHBhcmVudDo6bSgkbWVzc2FnZSwgMCwgdGltZSgpKTsKICAgIH0KfQptKG5ldyBGb28pOw==