A partner's payment system is calling a page of mine to confirm transactions. It's sending GET parameters, and one of them is duplicated : same key, different value.
Like this :
?(othersparams)&REFERENCE=test1&REFERENCE=test2
(FYI I have no control on these params)
I only need the first one, and until now it always worked with $_GET['REFERENCE']
Since yesterday we had payment problems, and I saw that this is the second value that is parsed instead of the first.
There was no server change to my knowledge.
Can you tell me more about PHP behaviour when given duplicates GET param keys ? What could explain this change ?
Thanks a lot.