<?php interface AnswerInterface { public function get(); } class Answer implements AnswerInterface { public function get() { return 4; } } $answer = new Answer; var_dump($answer->get());
You have javascript disabled. You will not be able to edit any code.