Adds a quickly made php port (only tested on linux/bash).