Docker env
A Faster Lightweight Full-Stack PHP Framework
...My point is "Making a wheel is not our purpose, we will get a few of knowledge when making a wheel which is our real purpose". Defined a entrance file that provide a uniform file for user visit, which hide the complex logic like the enterprise service bus. Register a function by used set_error_handler to handle error, but it can't handle the following error, E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING and the E_STRICT produced by the file which called set_error_handler function. So, we need use register_shutdown_function and error_get_last to handle this finally error which set_error_handler can't handle. ...