- var_dump: documentation ( source)
<?php
class franz
{
protected function __construct(array $hello)
{
var_dump($hello);
}
}
$reflection = new ReflectionClass('franz');
$reflection->newInstanceArgs(array("hello franz"));