Added PHP open & close testing