Fixed PHP example for API V2.