Skip to content

Instantly share code, notes, and snippets.

@trq
Created December 6, 2012 09:58
Show Gist options
  • Save trq/4223377 to your computer and use it in GitHub Desktop.
Save trq/4223377 to your computer and use it in GitHub Desktop.
<?php
interface foo {
public function x();
}
interface bar {
public function y();
}
interface something extends foo, bar {
public function z();
}
class a implements something {
public function x() {}
public function y() {}
public function z() {}
}
$a = new a;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment