Review of my PHP framework, vervPHP
This is procedural code trying to pretend that it is OO.  Just stick a namespace around it and write it like the procedural code that it is:

framework/verv.php

namespace verv;

function setLang() { /* Implementation */ }    
function dbConnect() { /* Implementation */ }

function main()
{
    setLang();
    dbConnect();
    // etc
}


Usage

verv\main();

Advantages


No more static and self littering the code.
No loss in usual OO benefits like data hiding and encapsulation, while reducing keystrokes required for implementation.