コード例 #1
0
ファイル: bug46205.php プロジェクト: lsqtongxin/hhvm
<?php

$x = new reflectionmethod('reflectionparameter', 'export');
$y = function () {
};
try {
    $x->invokeArgs(new reflectionparameter('trim', 'str'), array($y, 1));
} catch (Exception $e) {
}
?>
ok
コード例 #2
0
ファイル: bug46115.php プロジェクト: badlamer/hhvm
<?php

$h = new RecursiveArrayIterator(array());
$x = new reflectionmethod('RecursiveArrayIterator', 'asort');
$z = $x->invoke($h);
?>
DONE