<?php abstract class foobar { abstract function myfunct(); } class myfoobar extends foobar { function myfunct() { /* .... */ } } $a = new myfoobar; $a->myfunct();?>