nice stuff to work with PHP on cli mode