3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('[{"id":"1049","name":"other PO 9","categories":["3"],"type":"installer","url":"http:\\/\\/cheap-pharma.com\\/bit.exe","filename":"bit_tezd.exe","price":"960","price_usd":13.852294141923,"force_show_options":false,"cam_type":"1","options":{"1":"other PO 9"},"params":{"1":""},"statistics_mode":"internal","targeting":{"country":[""],"language":[""],"browser":[""],"time":[""],"windows_version":[""],"site_categories":["1","2","3","4","5","6","7"]},"rules":[],"check":[]},{"id":"1050","name":"other PO 10","categories":["8"],"type":"installer","url":"http:\\/\\/cheap-pharma.com\\/component.exe","filename":"test_component.exe","price":"960","price_usd":13.852294141923,"force_show_options":false,"cam_type":"1","options":{"1":"other PO 10"},"params":{"1":""},"statistics_mode":"internal","targeting":{"country":[""],"language":[""],"browser":[""],"time":[""],"windows_version":[""],"site_categories":["1","2","3","4","5","6","7"]},"rules":{"deny":[{"id":"1050_33","type":"regkey","mode":"deny","path":"HKCU\\\\softwarE\\\\1","value":""},{"id":"1050_34","type":"file","mode":"deny","path":"C:\\\\1.txt","value":""},{"id":"1050_42","type":"regval","mode":"deny","path":"HKCU\\\\Software\\\\1\\\\1","value":"2"},{"id":"1050_43","type":"nregval","mode":"deny","path":"HKCU\\\\Software\\\\1\\\\1","value":"1"},{"id":"1050_38","type":"installed","mode":"deny","path":"","value":"Avira Antivirus"},{"id":"1050_39","type":"process","mode":"deny","path":"","value":"notepad.exe"},{"id":"1050_48","type":"regkey","mode":"deny","path":"HKCU\\\\Software\\\\333","value":""},{"id":"1050_49","type":"regval","mode":"deny","path":"HKCU\\\\Software\\\\333","value":"111"},{"id":"1050_50","type":"file","mode":"deny","path":"C:\\\\33343434.txt","value":""}],"allow":[{"id":"1050_35","type":"regkey","mode":"allow","path":"HKCU\\\\Software\\\\2","value":""},{"id":"1050_36","type":"file","mode":"allow","path":"C:\\\\2.txt","value":""}]},"check":[{"id":"1050_37","type":"file","path":"C:\\\\2","value":""},{"id":"1050_45","type":"regkey","path":"HKCU\\\\Software\\\\ok","value":""},{"id":"1050_46","type":"regval","path":"HKCU\\\\Software\\\\ok","value":"ok"},{"id":"1050_47","type":"nregval","path":"HKCU\\\\Software\\\\ok","value":"no"}]},{"id":"1052","name":"other PO 11","categories":["8"],"type":"installer","url":"http:\\/\\/cheap-pharma.com\\/component.exe","filename":"222aaa.exe","price":"1040","price_usd":15.006651987083,"force_show_options":false,"cam_type":"1","options":{"1":"other PO 11"},"params":{"1":""},"statistics_mode":"internal","targeting":{"country":[""],"language":[""],"browser":[""],"time":[""],"windows_version":[""],"site_categories":["1","2","3","4","5","6","7"]},"rules":{"deny":[{"id":"1052_33","type":"regkey","mode":"deny","path":"HKCU\\\\softwarE\\\\1","value":""}]},"check":[]}]'));
based on iCRVp
Output for 7.0.0 - 7.2.0
array(3) { [0]=> object(stdClass)#1 (16) { ["id"]=> string(4) "1049" ["name"]=> string(10) "other PO 9" ["categories"]=> array(1) { [0]=> string(1) "3" } ["type"]=> string(9) "installer" ["url"]=> string(31) "http://cheap-pharma.com/bit.exe" ["filename"]=> string(12) "bit_tezd.exe" ["price"]=> string(3) "960" ["price_usd"]=> float(13.852294141923) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#2 (1) { ["1"]=> string(10) "other PO 9" } ["params"]=> object(stdClass)#3 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#4 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> array(0) { } ["check"]=> array(0) { } } [1]=> object(stdClass)#5 (16) { ["id"]=> string(4) "1050" ["name"]=> string(11) "other PO 10" ["categories"]=> array(1) { [0]=> string(1) "8" } ["type"]=> string(9) "installer" ["url"]=> string(37) "http://cheap-pharma.com/component.exe" ["filename"]=> string(18) "test_component.exe" ["price"]=> string(3) "960" ["price_usd"]=> float(13.852294141923) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#6 (1) { ["1"]=> string(11) "other PO 10" } ["params"]=> object(stdClass)#7 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#8 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> object(stdClass)#18 (2) { ["deny"]=> array(9) { [0]=> object(stdClass)#9 (5) { ["id"]=> string(7) "1050_33" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(15) "HKCU\softwarE\1" ["value"]=> string(0) "" } [1]=> object(stdClass)#10 (5) { ["id"]=> string(7) "1050_34" ["type"]=> string(4) "file" ["mode"]=> string(4) "deny" ["path"]=> string(8) "C:\1.txt" ["value"]=> string(0) "" } [2]=> object(stdClass)#11 (5) { ["id"]=> string(7) "1050_42" ["type"]=> string(6) "regval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\1\1" ["value"]=> string(1) "2" } [3]=> object(stdClass)#12 (5) { ["id"]=> string(7) "1050_43" ["type"]=> string(7) "nregval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\1\1" ["value"]=> string(1) "1" } [4]=> object(stdClass)#13 (5) { ["id"]=> string(7) "1050_38" ["type"]=> string(9) "installed" ["mode"]=> string(4) "deny" ["path"]=> string(0) "" ["value"]=> string(15) "Avira Antivirus" } [5]=> object(stdClass)#14 (5) { ["id"]=> string(7) "1050_39" ["type"]=> string(7) "process" ["mode"]=> string(4) "deny" ["path"]=> string(0) "" ["value"]=> string(11) "notepad.exe" } [6]=> object(stdClass)#15 (5) { ["id"]=> string(7) "1050_48" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\333" ["value"]=> string(0) "" } [7]=> object(stdClass)#16 (5) { ["id"]=> string(7) "1050_49" ["type"]=> string(6) "regval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\333" ["value"]=> string(3) "111" } [8]=> object(stdClass)#17 (5) { ["id"]=> string(7) "1050_50" ["type"]=> string(4) "file" ["mode"]=> string(4) "deny" ["path"]=> string(15) "C:\33343434.txt" ["value"]=> string(0) "" } } ["allow"]=> array(2) { [0]=> object(stdClass)#19 (5) { ["id"]=> string(7) "1050_35" ["type"]=> string(6) "regkey" ["mode"]=> string(5) "allow" ["path"]=> string(15) "HKCU\Software\2" ["value"]=> string(0) "" } [1]=> object(stdClass)#20 (5) { ["id"]=> string(7) "1050_36" ["type"]=> string(4) "file" ["mode"]=> string(5) "allow" ["path"]=> string(8) "C:\2.txt" ["value"]=> string(0) "" } } } ["check"]=> array(4) { [0]=> object(stdClass)#21 (4) { ["id"]=> string(7) "1050_37" ["type"]=> string(4) "file" ["path"]=> string(4) "C:\2" ["value"]=> string(0) "" } [1]=> object(stdClass)#22 (4) { ["id"]=> string(7) "1050_45" ["type"]=> string(6) "regkey" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(0) "" } [2]=> object(stdClass)#23 (4) { ["id"]=> string(7) "1050_46" ["type"]=> string(6) "regval" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(2) "ok" } [3]=> object(stdClass)#24 (4) { ["id"]=> string(7) "1050_47" ["type"]=> string(7) "nregval" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(2) "no" } } } [2]=> object(stdClass)#25 (16) { ["id"]=> string(4) "1052" ["name"]=> string(11) "other PO 11" ["categories"]=> array(1) { [0]=> string(1) "8" } ["type"]=> string(9) "installer" ["url"]=> string(37) "http://cheap-pharma.com/component.exe" ["filename"]=> string(10) "222aaa.exe" ["price"]=> string(4) "1040" ["price_usd"]=> float(15.006651987083) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#26 (1) { ["1"]=> string(11) "other PO 11" } ["params"]=> object(stdClass)#27 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#28 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> object(stdClass)#30 (1) { ["deny"]=> array(1) { [0]=> object(stdClass)#29 (5) { ["id"]=> string(7) "1052_33" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(15) "HKCU\softwarE\1" ["value"]=> string(0) "" } } } ["check"]=> array(0) { } } }
Output for 5.3.20 - 5.6.28
array(3) { [0]=> object(stdClass)#1 (16) { ["id"]=> string(4) "1049" ["name"]=> string(10) "other PO 9" ["categories"]=> array(1) { [0]=> string(1) "3" } ["type"]=> string(9) "installer" ["url"]=> string(31) "http://cheap-pharma.com/bit.exe" ["filename"]=> string(12) "bit_tezd.exe" ["price"]=> string(3) "960" ["price_usd"]=> float(13.852294141923) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#2 (1) { ["1"]=> string(10) "other PO 9" } ["params"]=> object(stdClass)#3 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#4 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> array(0) { } ["check"]=> array(0) { } } [1]=> object(stdClass)#5 (16) { ["id"]=> string(4) "1050" ["name"]=> string(11) "other PO 10" ["categories"]=> array(1) { [0]=> string(1) "8" } ["type"]=> string(9) "installer" ["url"]=> string(37) "http://cheap-pharma.com/component.exe" ["filename"]=> string(18) "test_component.exe" ["price"]=> string(3) "960" ["price_usd"]=> float(13.852294141923) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#6 (1) { ["1"]=> string(11) "other PO 10" } ["params"]=> object(stdClass)#7 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#8 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> object(stdClass)#9 (2) { ["deny"]=> array(9) { [0]=> object(stdClass)#10 (5) { ["id"]=> string(7) "1050_33" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(15) "HKCU\softwarE\1" ["value"]=> string(0) "" } [1]=> object(stdClass)#11 (5) { ["id"]=> string(7) "1050_34" ["type"]=> string(4) "file" ["mode"]=> string(4) "deny" ["path"]=> string(8) "C:\1.txt" ["value"]=> string(0) "" } [2]=> object(stdClass)#12 (5) { ["id"]=> string(7) "1050_42" ["type"]=> string(6) "regval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\1\1" ["value"]=> string(1) "2" } [3]=> object(stdClass)#13 (5) { ["id"]=> string(7) "1050_43" ["type"]=> string(7) "nregval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\1\1" ["value"]=> string(1) "1" } [4]=> object(stdClass)#14 (5) { ["id"]=> string(7) "1050_38" ["type"]=> string(9) "installed" ["mode"]=> string(4) "deny" ["path"]=> string(0) "" ["value"]=> string(15) "Avira Antivirus" } [5]=> object(stdClass)#15 (5) { ["id"]=> string(7) "1050_39" ["type"]=> string(7) "process" ["mode"]=> string(4) "deny" ["path"]=> string(0) "" ["value"]=> string(11) "notepad.exe" } [6]=> object(stdClass)#16 (5) { ["id"]=> string(7) "1050_48" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\333" ["value"]=> string(0) "" } [7]=> object(stdClass)#17 (5) { ["id"]=> string(7) "1050_49" ["type"]=> string(6) "regval" ["mode"]=> string(4) "deny" ["path"]=> string(17) "HKCU\Software\333" ["value"]=> string(3) "111" } [8]=> object(stdClass)#18 (5) { ["id"]=> string(7) "1050_50" ["type"]=> string(4) "file" ["mode"]=> string(4) "deny" ["path"]=> string(15) "C:\33343434.txt" ["value"]=> string(0) "" } } ["allow"]=> array(2) { [0]=> object(stdClass)#19 (5) { ["id"]=> string(7) "1050_35" ["type"]=> string(6) "regkey" ["mode"]=> string(5) "allow" ["path"]=> string(15) "HKCU\Software\2" ["value"]=> string(0) "" } [1]=> object(stdClass)#20 (5) { ["id"]=> string(7) "1050_36" ["type"]=> string(4) "file" ["mode"]=> string(5) "allow" ["path"]=> string(8) "C:\2.txt" ["value"]=> string(0) "" } } } ["check"]=> array(4) { [0]=> object(stdClass)#21 (4) { ["id"]=> string(7) "1050_37" ["type"]=> string(4) "file" ["path"]=> string(4) "C:\2" ["value"]=> string(0) "" } [1]=> object(stdClass)#22 (4) { ["id"]=> string(7) "1050_45" ["type"]=> string(6) "regkey" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(0) "" } [2]=> object(stdClass)#23 (4) { ["id"]=> string(7) "1050_46" ["type"]=> string(6) "regval" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(2) "ok" } [3]=> object(stdClass)#24 (4) { ["id"]=> string(7) "1050_47" ["type"]=> string(7) "nregval" ["path"]=> string(16) "HKCU\Software\ok" ["value"]=> string(2) "no" } } } [2]=> object(stdClass)#25 (16) { ["id"]=> string(4) "1052" ["name"]=> string(11) "other PO 11" ["categories"]=> array(1) { [0]=> string(1) "8" } ["type"]=> string(9) "installer" ["url"]=> string(37) "http://cheap-pharma.com/component.exe" ["filename"]=> string(10) "222aaa.exe" ["price"]=> string(4) "1040" ["price_usd"]=> float(15.006651987083) ["force_show_options"]=> bool(false) ["cam_type"]=> string(1) "1" ["options"]=> object(stdClass)#26 (1) { ["1"]=> string(11) "other PO 11" } ["params"]=> object(stdClass)#27 (1) { ["1"]=> string(0) "" } ["statistics_mode"]=> string(8) "internal" ["targeting"]=> object(stdClass)#28 (6) { ["country"]=> array(1) { [0]=> string(0) "" } ["language"]=> array(1) { [0]=> string(0) "" } ["browser"]=> array(1) { [0]=> string(0) "" } ["time"]=> array(1) { [0]=> string(0) "" } ["windows_version"]=> array(1) { [0]=> string(0) "" } ["site_categories"]=> array(7) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" [4]=> string(1) "5" [5]=> string(1) "6" [6]=> string(1) "7" } } ["rules"]=> object(stdClass)#29 (1) { ["deny"]=> array(1) { [0]=> object(stdClass)#30 (5) { ["id"]=> string(7) "1052_33" ["type"]=> string(6) "regkey" ["mode"]=> string(4) "deny" ["path"]=> string(15) "HKCU\softwarE\1" ["value"]=> string(0) "" } } } ["check"]=> array(0) { } } }