Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- interface what {
- public function a();
- public function b();
- }
- class b implements what {
- public function a() {
- echo 'what';
- }
- }
- class c extends b {
- public function b() {
- echo 'what2';
- }
- }
- $x = new c();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement