fork(1) download
  1. <?php
  2.  
  3. $parsed = parse_url('market://details?id=com.agoda.mobile.consumer&referrer=af_tranid%3Dfj7HZTTp98DSrrlEysr5pQ%26af_sub1%3D0U8g9c8sBw6_0oroDoPwQoqGz2SAR2r6xoPGyofMVt06DtGIR7foD7r6yoPZDofi4MqdxM6%26af_cost_value%3D4000%26af_dp%3Dagoda%3A\/\/home%26invitecode%3DdHlwZT1NS1QmY2hhbm5lbD1BUFBQSUVSJmV2ZW50PVBPX05DUElfMTYwODIy%26pid%3Dappier_int%26is_retargeting%3Dtrue%26af_click_lookback%3D30d%26tag%3Ded155c37-502f-4a24-a84e-b9b39185b9c9%26af_prt%3DECHOMARKETING%26af_sub2%3DAppier_KR_G001_Android%26android_id%3Dabc%26clickid%3DCyl1Umf121l48Y7stI30nR7PtRO_ZfzH8bsaUgJTu1x1wmf121l8IP3jwDiurSlQIPNstbzw3biR7igtu1x1c0G121ug7Iugoquxo07eoqdV7qGyoPGx20Gyort7orwslruylrl0lruylruylrl0lruylruylrl0lruylruylriGu1x1ZLtEuqa1U8g9c8sBw1u-uYgxuqa17ru9o1Qm7yQyoqo1eM%26af_cost_currency%3DKRW%26af_siteid%3D1758039%26advertising_id%3Dgbc%26c%3DAppier_KR%26site_id%3D1758039');
  4.  
  5. print_r($parsed);
  6.  
  7. parse_str($parsed['query'], $output);
  8.  
  9. print_r($output);
Success #stdin #stdout 0.04s 25788KB
stdin
The webpage at market://details?id=com.kingsgroup.sos&referrer=af_tranid%3DjfMoHRd_GGPZ6K2Ha3mO5g%26af_cost_value%3D0%26af_cost_model%3DCPA%26af_c_id%3D41189%26pid%3Dadaction5_int%26af_click_lookback%3D7d%26af_sub5%3D41189%26af_sub2%3D3298%26is_incentivized%3Dtrue%26af_channel%3D32983481%26clickid%3D102e62e87dde917d78bb65b1965315%26af_cost_currency%3DUSD%26af_siteid%3D3298%26af_sub_siteid%3D3481%26c%3DState%20of%20Survival%20-%20CPE%20-%20Level%2020%20%28Android%2C%20INCENT%2C%20DE%2C%2046MB%29
stdout
Array
(
    [scheme] => market
    [host] => details
    [query] => id=com.agoda.mobile.consumer&referrer=af_tranid%3Dfj7HZTTp98DSrrlEysr5pQ%26af_sub1%3D0U8g9c8sBw6_0oroDoPwQoqGz2SAR2r6xoPGyofMVt06DtGIR7foD7r6yoPZDofi4MqdxM6%26af_cost_value%3D4000%26af_dp%3Dagoda%3A\/\/home%26invitecode%3DdHlwZT1NS1QmY2hhbm5lbD1BUFBQSUVSJmV2ZW50PVBPX05DUElfMTYwODIy%26pid%3Dappier_int%26is_retargeting%3Dtrue%26af_click_lookback%3D30d%26tag%3Ded155c37-502f-4a24-a84e-b9b39185b9c9%26af_prt%3DECHOMARKETING%26af_sub2%3DAppier_KR_G001_Android%26android_id%3Dabc%26clickid%3DCyl1Umf121l48Y7stI30nR7PtRO_ZfzH8bsaUgJTu1x1wmf121l8IP3jwDiurSlQIPNstbzw3biR7igtu1x1c0G121ug7Iugoquxo07eoqdV7qGyoPGx20Gyort7orwslruylrl0lruylruylrl0lruylruylrl0lruylruylriGu1x1ZLtEuqa1U8g9c8sBw1u-uYgxuqa17ru9o1Qm7yQyoqo1eM%26af_cost_currency%3DKRW%26af_siteid%3D1758039%26advertising_id%3Dgbc%26c%3DAppier_KR%26site_id%3D1758039
)
Array
(
    [id] => com.agoda.mobile.consumer
    [referrer] => af_tranid=fj7HZTTp98DSrrlEysr5pQ&af_sub1=0U8g9c8sBw6_0oroDoPwQoqGz2SAR2r6xoPGyofMVt06DtGIR7foD7r6yoPZDofi4MqdxM6&af_cost_value=4000&af_dp=agoda:\/\/home&invitecode=dHlwZT1NS1QmY2hhbm5lbD1BUFBQSUVSJmV2ZW50PVBPX05DUElfMTYwODIy&pid=appier_int&is_retargeting=true&af_click_lookback=30d&tag=ed155c37-502f-4a24-a84e-b9b39185b9c9&af_prt=ECHOMARKETING&af_sub2=Appier_KR_G001_Android&android_id=abc&clickid=Cyl1Umf121l48Y7stI30nR7PtRO_ZfzH8bsaUgJTu1x1wmf121l8IP3jwDiurSlQIPNstbzw3biR7igtu1x1c0G121ug7Iugoquxo07eoqdV7qGyoPGx20Gyort7orwslruylrl0lruylruylrl0lruylruylrl0lruylruylriGu1x1ZLtEuqa1U8g9c8sBw1u-uYgxuqa17ru9o1Qm7yQyoqo1eM&af_cost_currency=KRW&af_siteid=1758039&advertising_id=gbc&c=Appier_KR&site_id=1758039
)