3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path='/phones/869580296'; $key='XcyLEIoAuUgGSJUDFAs4xWTnV2TKEmvZTZuTtPFr'; $secret='LLI1/E9&zfG-wwKTRd[XGFOAH~u.pnEJ{q(=oyAG'; $deviceId='861087f9e82327cc'; $payload=array(); $payload['deviceId']=$deviceId; $payload['includeRefs']=1; //$payload['session']='3be05bdbec8c3ba50d31e175b5dd3cec.1467179011'; $payload=http_build_query($payload); $sum=md5(md5($secret).md5($path).md5($payload)); echo 'https://www.avito.ru/api/2'.$path.'?checksum='.$sum.'&'.$payload.'&key='.$key; //echo 'Checksum for '.$itemId.' is '.$sum; ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.20, 8.3.0 - 8.3.8
https://www.avito.ru/api/2/phones/869580296?checksum=f5821d8105a56a58e2d9e42605dbbd00&deviceId=861087f9e82327cc&includeRefs=1&key=XcyLEIoAuUgGSJUDFAs4xWTnV2TKEmvZTZuTtPFr

preferences:
185.08 ms | 404 KiB | 186 Q