Convert to old php compatible