- var_dump: documentation ( source)
<?php
class testing {
public function test ($varr = false, &$array = array()){
if (count($array) > 2)
return 1;
$array[] = $this->test();
return 100;
}
}
$testme = new testing();
var_dump($testme->test());
var_dump($testme->test(true));