the code used to learn PHP