PyHP 2.0
Features added:
- --config and --version cli argument
- max_size and ttl caching options
- more customizable request handling
- automatic response code setting for header()
Changes:
- structural changes
- php functions now useable outside .pyhp files
- renamed pyhp class to PyHP
- replace print wrapper with PyHP.make_header_wrapper
- cache handler interface
- register_shutdown_function now uses atexit
- improved IndentationError message
Fixes:
- wrong directory size calculation in files_mtime
- crash of files_mtime.py if os not in namespace