Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 74f4b772aa
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.356 kB
--TEST--
runkit_method_redefine() must also update method's prototype
--SKIPIF--
<?php if(array_shift(explode('.', PHP_VERSION)) < 5) print "skip"; ?>
--FILE--
<?php
class a {
function foo() {
}
}
runkit_method_redefine("a", "foo", "", "return false;");
eval("
class b extends a {
function foo() {
}
}");
echo "==DONE==\n";
?>
--EXPECT--
==DONE==
Jump to Line
Something went wrong with that request. Please try again.