Base code for building console applications in PHP.