- var_dump: documentation ( source)
<?php
interface AnswerInterface
{
public function get();
public function the();
public function answer();
}
// start editing h
class Answer implements AnswerInterface
{
public function get()
{
function the()
{
function answer()
{
return 4;
}
}
}
}
// end editing here
$answer = new Answer;
var_dump($answer);
?>