AP PHP sample update for renamed utility function