Miscellany
public php v1 · immutable<?phpclass Main{ function __construct() { $sub1 = new Sub1(); $sub2 = new Sub2(); $sub2->doSomething(); }}class Sub1{ function somethingElse() { // blah blah }}class Sub2{ public function doSomething() { /// call a function in the $sub1 instance??? $sub1->somethingElse();?? }}?>