fixing API example to not use PHP keyword