Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 74f4b772aa
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 0.396 kb
--TEST--
Bug #10300 Segfault when copying __call()
--SKIPIF--
<?php if(!extension_loaded("runkit") || !RUNKIT_FEATURE_MANIPULATION) print "skip"; ?>
--INI--
error_reporting=E_ALL
display_errors=on
--FILE--
<?php
class Mixin
{
public function __call($message, $arguments)
{
}
}
class Test
{
}
runkit_method_copy('Test', '__call', 'Mixin');
$t = new Test;
$t->test();
?>
--EXPECT--
Jump to Line
Something went wrong with that request. Please try again.