Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 10th, 2012  |  syntax: PHP  |  size: 0.19 KB  |  hits: 23  |  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. class Foo
  3. {
  4.     public $foo;
  5.  
  6.     function __construct()
  7.     {
  8.         $this->foo = new Foo();
  9.     }
  10.  
  11.     function do_something()
  12.     {
  13.         $this->foo->do_foobar();
  14.     }
  15. }