Read and write PHP code