- var_dump: documentation ( source)
<?php
interface i1 {
}
class a {
function find() {
return null;
}
function _do(i1 $x) {
var_dump("do".$x);
}
function main() {
if ($this->n = $a->find() && _do($this->n)) {
echo "yes";
}
}
}
$a = new a();
$a->main();