News for hackers. Stuff that matters.
Re:Facebook rewrites PHP runtime, will open source on Tuesday by pbiggar on Monday February 01, 2010 @07:35AM (#1092237)
Functions and classes declared anywhere in a file are pushed to the top of that file by the parser. This obscures all the edge cases. Simplest example I can think of:

  echo foo('baz'); // error

  {
    function foo($bar) { return $bar; } // not pulled to top of file
  }

There are no comments on this comment yet.