added p49 php solution
added p50 php solution