More PHP snippet updates