simplify php methods
simplify php methods

killhellokitty/slimpd,othmar52/slimpd,othmar52/slimpd,killhellokitty/slimpd,othmar52/slimpd,othmar52/slimpd,othmar52/slimpd,killhellokitty/slimpd,othmar52/slimpd,othmar52/slimpd,killhellokitty/slimpd,killhellokitty/slimpd