This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 2nd, 2011  |  syntax: None  |  size: 0.34 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2.     abstract class foo {
  3.      function fooing() {
  4.       echo "Hello, I'm foo :)";
  5.      }
  6.     }
  7.    
  8.     class foo2 extends foo {
  9.      function foo2() {
  10.       $this->fooing();
  11.      }
  12.     }
  13.    
  14.     class foo3 extends foo2 {
  15.      function foo3() {
  16.       $this->foo2();
  17.      }
  18.     }
  19.  
  20.     $x = new foo3;
  21.     $x->foo3();
  22.     ?>
  23.  
clone this paste RAW Paste Data