added more PHP examples with comments