php compatible change to 5.3.2