Shell Wrapper for PHP