Hacker News new | ask | show | jobs
by spiralhead 6875 days ago
im assuming the above code is equivalent to:

class foo {

  public function someMethod() { trace("blah blah"); }
}

new foo().someMethod();

just different approaches to the same problem