php block auto opening