PHP examples and test scripts