added php p5 solution
added php p6 solution
added php p7 solution