Skip to content

Instantly share code, notes, and snippets.

@stefankleff
Created February 18, 2013 12:41
Show Gist options
  • Save stefankleff/4977086 to your computer and use it in GitHub Desktop.
Save stefankleff/4977086 to your computer and use it in GitHub Desktop.
<?php
interface A {
public function foo();
}
abstract class B implements A {
abstract public function foo();
}
class C extends B {
public function foo() {
echo "foo";
}
}
$c = new C();
$c->foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment