Implement and test PHP demo