Adding code examples from various php test.