the demo code i used during the august 2013 dallas php meeting