correct ending for 5.5 php