PHP Static variables – Object factory
Written on February 24, 2010 – 7:34 pm | by Stan Kuhn |On large busy projects where server resources do matter it is good idea to reuse object which is used several times during script execution in different scopes. There are more options. One is to use global keyword on top of each function where object is needed but you must make always sure object really exist [...]

