Apply php 5.3