Support php 5.3