Beispiel #1
0
<?php

$x = new reflectionmethod('reflectionparameter', 'export');
$y = function () {
};
try {
    $x->invokeArgs(new reflectionparameter('trim', 'str'), array($y, 1));
} catch (Exception $e) {
}
?>
ok
Beispiel #2
0
<?php

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