Đầu tiên xin chào tất cả anh em! Có câu hỏi này mong anh em giải đáp: Mình có dữ liệu sau: $json: HTML: {"scans": {"Bkav": {"detected": false, "version": "1.3.0.10239", "result": null, "update": "20190515"}, "MicroWorld-eScan": {"detected": false, "version": "14.0.297.0", "result": null, "update": "20190515"}, "CMC": {"detected": false, "version": "1.1.0.977", "result": null, "update": "20190321"}, "CAT-QuickHeal": {"detected": false, "version": "14.00", "result": null, "update": "20190515"}, "McAfee": {"detected": false, "version": "6.0.6.653", "result": null, "update": "20190515"}, "Malwarebytes": {"detected": false, "version": "2.1.1.1115", "result": null, "update": "20190515"}, "Zillya": {"detected": false, "version": "2.0.0.3811", "result": null, "update": "20190515"}, "AegisLab": {"detected": false, "version": "4.2", "result": null, "update": "20190515"}, "Trustlook": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "K7GW": {"detected": false, "version": "11.43.30916", "result": null, "update": "20190515"}, "K7AntiVirus": {"detected": false, "version": "11.44.30919", "result": null, "update": "20190515"}, "Arcabit": {"detected": false, "version": "1.0.0.845", "result": null, "update": "20190515"}, "Baidu": {"detected": false, "version": "1.0.0.2", "result": null, "update": "20190318"}, "Babable": {"detected": false, "version": "9107201", "result": null, "update": "20190424"}, "F-Prot": {"detected": false, "version": "4.7.1.166", "result": null, "update": "20190515"}, "Symantec": {"detected": false, "version": "1.9.0.0", "result": null, "update": "20190515"}, "TotalDefense": {"detected": false, "version": "37.1.62.1", "result": null, "update": "20190515"}, "APEX": {"detected": false, "version": "5.14", "result": null, "update": "20190513"}, "Paloalto": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "ClamAV": {"detected": false, "version": "0.101.2.0", "result": null, "update": "20190515"}, "Kaspersky": {"detected": false, "version": "15.0.1.13", "result": null, "update": "20190515"}, "BitDefender": {"detected": false, "version": "7.2", "result": null, "update": "20190515"}, "NANO-Antivirus": {"detected": false, "version": "1.0.134.24788", "result": null, "update": "20190515"}, "ViRobot": {"detected": false, "version": "2014.3.20.0", "result": null, "update": "20190515"}, "Rising": {"detected": false, "version": "25.0.0.24", "result": null, "update": "20190515"}, "Ad-Aware": {"detected": false, "version": "3.0.5.370", "result": null, "update": "20190515"}, "Emsisoft": {"detected": false, "version": "2018.4.0.1029", "result": null, "update": "20190515"}, "Comodo": {"detected": false, "version": "30870", "result": null, "update": "20190515"}, "F-Secure": {"detected": false, "version": "12.0.86.52", "result": null, "update": "20190515"}, "DrWeb": {"detected": false, "version": "7.0.34.11020", "result": null, "update": "20190515"}, "VIPRE": {"detected": false, "version": "None", "result": null, "update": null}, "TrendMicro": {"detected": false, "version": "10.0.0.1040", "result": null, "update": "20190515"}, "McAfee-GW-Edition": {"detected": false, "version": "v2017.3010", "result": null, "update": "20190515"}, "FireEye": {"detected": false, "version": "29.7.0.0", "result": null, "update": "20190515"}, "TheHacker": {"detected": false, "version": "6.8.0.5.4220", "result": null, "update": "20190513"}, "Ikarus": {"detected": false, "version": "0.1.5.2", "result": null, "update": "20190515"}, "Cyren": {"detected": false, "version": "6.2.0.1", "result": null, "update": "20190515"}, "Jiangmin": {"detected": false, "version": "16.0.100", "result": null, "update": "20190515"}, "Avira": {"detected": false, "version": "8.3.3.8", "result": null, "update": "20190515"}, "Antiy-AVL": {"detected": false, "version": "3.0.0.1", "result": null, "update": "20190515"}, "Kingsoft": {"detected": false, "version": "2013.8.14.323", "result": null, "update": "20190515"}, "Microsoft": {"detected": false, "version": "1.1.15900.4", "result": null, "update": "20190515"}, "SUPERAntiSpyware": {"detected": false, "version": "5.6.0.1032", "result": null, "update": "20190514"}, "ZoneAlarm": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "Avast-Mobile": {"detected": false, "version": "190515-00", "result": null, "update": "20190515"}, "GData": {"detected": false, "version": "A:25.21965B:25.15086", "result": null, "update": "20190515"}, "Sophos": {"detected": false, "version": "4.98.0", "result": null, "update": "20190515"}, "AhnLab-V3": {"detected": false, "version": "3.15.1.23978", "result": null, "update": "20190515"}, "VBA32": {"detected": false, "version": "4.0.0", "result": null, "update": "20190515"}, "ALYac": {"detected": false, "version": "1.1.1.5", "result": null, "update": "20190515"}, "TACHYON": {"detected": false, "version": "2019-05-15.02", "result": null, "update": "20190515"}, "Panda": {"detected": false, "version": "4.6.4.2", "result": null, "update": "20190515"}, "Zoner": {"detected": false, "version": "1.0", "result": null, "update": "20190514"}, "ESET-NOD32": {"detected": false, "version": "19360", "result": null, "update": "20190515"}, "TrendMicro-HouseCall": {"detected": false, "version": "10.0.0.1040", "result": null, "update": "20190515"}, "Tencent": {"detected": false, "version": "1.0.0.1", "result": null, "update": "20190515"}, "Yandex": {"detected": false, "version": "5.5.1.3", "result": null, "update": "20190501"}, "MAX": {"detected": false, "version": "2018.9.12.1", "result": null, "update": "20190515"}, "MaxSecure": {"detected": false, "version": "1.0.0.1", "result": null, "update": "20190514"}, "Fortinet": {"detected": false, "version": "5.4.247.0", "result": null, "update": "20190515"}, "AVG": {"detected": false, "version": "18.4.3895.0", "result": null, "update": "20190515"}, "Avast": {"detected": false, "version": "18.4.3895.0", "result": null, "update": "20190515"}, "Qihoo-360": {"detected": false, "version": "1.0.0.1120", "result": null, "update": "20190515"}}, "scan_id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-1557946247", "sha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "resource": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "response_code": 1, "scan_date": "2019-05-15 18:50:47", "permalink": "https://www.virustotal.com/file/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/analysis/1557946247/", "verbose_msg": "Scan finished, information embedded", "total": 63, "positives": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "md5": "d41d8cd98f00b204e9800998ecf8427e"} Giờ mình muốn lấy phần scans, và echo ra dữ liệu cho thật đẹp thì làm sao ạ? $result = @json_decode($json),TRUE); $scan = $result["scans"]; var_dump($scan); HTML: array(62) { ["Bkav"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "1.3.0.10239" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["MicroWorld-eScan"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "14.0.297.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["FireEye"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(8) "29.7.0.0" ["result"]=> NULL ["update"]=> string(8) "20190512" } ["CAT-QuickHeal"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(5) "14.00" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["McAfee"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "6.0.6.653" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Malwarebytes"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "2.1.1.1115" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Zillya"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "2.0.0.3811" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["AegisLab"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(3) "4.2" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["TheHacker"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(12) "6.8.0.5.4220" ["result"]=> NULL ["update"]=> string(8) "20190513" } ["K7GW"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "11.43.30916" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["K7AntiVirus"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "11.44.30919" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Arcabit"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "1.0.0.845" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Baidu"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "1.0.0.2" ["result"]=> NULL ["update"]=> string(8) "20190318" } ["NANO-Antivirus"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(13) "1.0.134.24788" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["F-Prot"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "4.7.1.166" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Symantec"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "1.9.0.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["TotalDefense"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "37.1.62.1" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["APEX"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(4) "5.14" ["result"]=> NULL ["update"]=> string(8) "20190513" } ["Paloalto"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(3) "1.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["ClamAV"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "0.101.2.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Kaspersky"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "15.0.1.13" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["BitDefender"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(3) "7.2" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Babable"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "9107201" ["result"]=> NULL ["update"]=> string(8) "20190424" } ["ViRobot"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "2014.3.20.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Rising"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "25.0.0.24" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Ad-Aware"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "3.0.5.370" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Sophos"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(6) "4.98.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Comodo"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(5) "30870" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["F-Secure"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "12.0.86.52" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["DrWeb"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(12) "7.0.34.11020" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["VIPRE"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(4) "None" ["result"]=> NULL ["update"]=> NULL } ["TrendMicro"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "10.0.0.1040" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["McAfee-GW-Edition"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "v2017.3010" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["CMC"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "1.1.0.977" ["result"]=> NULL ["update"]=> string(8) "20190321" } ["Emsisoft"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(13) "2018.4.0.1029" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Ikarus"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "0.1.5.2" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Cyren"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "6.2.0.1" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Jiangmin"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(8) "16.0.100" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Avira"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "8.3.3.8" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Fortinet"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "5.4.247.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Antiy-AVL"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "3.0.0.1" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Kingsoft"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(13) "2013.8.14.323" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Microsoft"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "1.1.15900.4" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["SUPERAntiSpyware"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "5.6.0.1032" ["result"]=> NULL ["update"]=> string(8) "20190514" } ["ZoneAlarm"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(3) "1.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Avast-Mobile"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(9) "190515-00" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["AhnLab-V3"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(12) "3.15.1.23978" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["VBA32"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(5) "4.0.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["ALYac"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "1.1.1.5" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["TACHYON"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(13) "2019-05-15.02" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Panda"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "4.6.4.2" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Zoner"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(3) "1.0" ["result"]=> NULL ["update"]=> string(8) "20190514" } ["ESET-NOD32"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(5) "19361" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["TrendMicro-HouseCall"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "10.0.0.1040" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Tencent"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "1.0.0.1" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Yandex"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "5.5.1.3" ["result"]=> NULL ["update"]=> string(8) "20190501" } ["MAX"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "2018.9.12.1" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["MaxSecure"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(7) "1.0.0.1" ["result"]=> NULL ["update"]=> string(8) "20190514" } ["GData"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(20) "A:25.21965B:25.15086" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["AVG"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "18.4.3895.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Avast"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(11) "18.4.3895.0" ["result"]=> NULL ["update"]=> string(8) "20190515" } ["Qihoo-360"]=> array(4) { ["detected"]=> bool(false) ["version"]=> string(10) "1.0.0.1120" ["result"]=> NULL ["update"]=> string(8) "20190515" } }[/COLOR] Hiện thị kết quả xem thế này thì xấu quá. Mong anh em chỉ giáo. Xin càm ơn tất cả anh em.
Xấu đẹp là sao ko hiểu. Hiểu xưa mình không biết decode_json còn phải cắt viết cái hàm để cắt ra đoạn mình cần nữa cơ
Lúc đó ko biết json là gì hết nên khi crawl mấy cái content trong js phải cắt =)). Sau này gập độ khó dữ quá mới biết mình khôn vl
Cám ơn anh em. Thấy thằng này convert đẹp mà không hiểu nó làm kiểu gì. https://www.unserialize.com/s/6dcbb9c3-0292-0048-c39f-00003ef0db7a Hiện tại đành phải chọn <pre> hoặc header('content-type: application/json'); vậy.
E trước hay dùng thằng này, đảm bảo như ý anh luôn: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en
Bao đẹp Code: $json = '{"scans": {"Bkav": {"detected": false, "version": "1.3.0.10239", "result": null, "update": "20190515"}, "MicroWorld-eScan": {"detected": false, "version": "14.0.297.0", "result": null, "update": "20190515"}, "CMC": {"detected": false, "version": "1.1.0.977", "result": null, "update": "20190321"}, "CAT-QuickHeal": {"detected": false, "version": "14.00", "result": null, "update": "20190515"}, "McAfee": {"detected": false, "version": "6.0.6.653", "result": null, "update": "20190515"}, "Malwarebytes": {"detected": false, "version": "2.1.1.1115", "result": null, "update": "20190515"}, "Zillya": {"detected": false, "version": "2.0.0.3811", "result": null, "update": "20190515"}, "AegisLab": {"detected": false, "version": "4.2", "result": null, "update": "20190515"}, "Trustlook": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "K7GW": {"detected": false, "version": "11.43.30916", "result": null, "update": "20190515"}, "K7AntiVirus": {"detected": false, "version": "11.44.30919", "result": null, "update": "20190515"}, "Arcabit": {"detected": false, "version": "1.0.0.845", "result": null, "update": "20190515"}, "Baidu": {"detected": false, "version": "1.0.0.2", "result": null, "update": "20190318"}, "Babable": {"detected": false, "version": "9107201", "result": null, "update": "20190424"}, "F-Prot": {"detected": false, "version": "4.7.1.166", "result": null, "update": "20190515"}, "Symantec": {"detected": false, "version": "1.9.0.0", "result": null, "update": "20190515"}, "TotalDefense": {"detected": false, "version": "37.1.62.1", "result": null, "update": "20190515"}, "APEX": {"detected": false, "version": "5.14", "result": null, "update": "20190513"}, "Paloalto": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "ClamAV": {"detected": false, "version": "0.101.2.0", "result": null, "update": "20190515"}, "Kaspersky": {"detected": false, "version": "15.0.1.13", "result": null, "update": "20190515"}, "BitDefender": {"detected": false, "version": "7.2", "result": null, "update": "20190515"}, "NANO-Antivirus": {"detected": false, "version": "1.0.134.24788", "result": null, "update": "20190515"}, "ViRobot": {"detected": false, "version": "2014.3.20.0", "result": null, "update": "20190515"}, "Rising": {"detected": false, "version": "25.0.0.24", "result": null, "update": "20190515"}, "Ad-Aware": {"detected": false, "version": "3.0.5.370", "result": null, "update": "20190515"}, "Emsisoft": {"detected": false, "version": "2018.4.0.1029", "result": null, "update": "20190515"}, "Comodo": {"detected": false, "version": "30870", "result": null, "update": "20190515"}, "F-Secure": {"detected": false, "version": "12.0.86.52", "result": null, "update": "20190515"}, "DrWeb": {"detected": false, "version": "7.0.34.11020", "result": null, "update": "20190515"}, "VIPRE": {"detected": false, "version": "None", "result": null, "update": null}, "TrendMicro": {"detected": false, "version": "10.0.0.1040", "result": null, "update": "20190515"}, "McAfee-GW-Edition": {"detected": false, "version": "v2017.3010", "result": null, "update": "20190515"}, "FireEye": {"detected": false, "version": "29.7.0.0", "result": null, "update": "20190515"}, "TheHacker": {"detected": false, "version": "6.8.0.5.4220", "result": null, "update": "20190513"}, "Ikarus": {"detected": false, "version": "0.1.5.2", "result": null, "update": "20190515"}, "Cyren": {"detected": false, "version": "6.2.0.1", "result": null, "update": "20190515"}, "Jiangmin": {"detected": false, "version": "16.0.100", "result": null, "update": "20190515"}, "Avira": {"detected": false, "version": "8.3.3.8", "result": null, "update": "20190515"}, "Antiy-AVL": {"detected": false, "version": "3.0.0.1", "result": null, "update": "20190515"}, "Kingsoft": {"detected": false, "version": "2013.8.14.323", "result": null, "update": "20190515"}, "Microsoft": {"detected": false, "version": "1.1.15900.4", "result": null, "update": "20190515"}, "SUPERAntiSpyware": {"detected": false, "version": "5.6.0.1032", "result": null, "update": "20190514"}, "ZoneAlarm": {"detected": false, "version": "1.0", "result": null, "update": "20190515"}, "Avast-Mobile": {"detected": false, "version": "190515-00", "result": null, "update": "20190515"}, "GData": {"detected": false, "version": "A:25.21965B:25.15086", "result": null, "update": "20190515"}, "Sophos": {"detected": false, "version": "4.98.0", "result": null, "update": "20190515"}, "AhnLab-V3": {"detected": false, "version": "3.15.1.23978", "result": null, "update": "20190515"}, "VBA32": {"detected": false, "version": "4.0.0", "result": null, "update": "20190515"}, "ALYac": {"detected": false, "version": "1.1.1.5", "result": null, "update": "20190515"}, "TACHYON": {"detected": false, "version": "2019-05-15.02", "result": null, "update": "20190515"}, "Panda": {"detected": false, "version": "4.6.4.2", "result": null, "update": "20190515"}, "Zoner": {"detected": false, "version": "1.0", "result": null, "update": "20190514"}, "ESET-NOD32": {"detected": false, "version": "19360", "result": null, "update": "20190515"}, "TrendMicro-HouseCall": {"detected": false, "version": "10.0.0.1040", "result": null, "update": "20190515"}, "Tencent": {"detected": false, "version": "1.0.0.1", "result": null, "update": "20190515"}, "Yandex": {"detected": false, "version": "5.5.1.3", "result": null, "update": "20190501"}, "MAX": {"detected": false, "version": "2018.9.12.1", "result": null, "update": "20190515"}, "MaxSecure": {"detected": false, "version": "1.0.0.1", "result": null, "update": "20190514"}, "Fortinet": {"detected": false, "version": "5.4.247.0", "result": null, "update": "20190515"}, "AVG": {"detected": false, "version": "18.4.3895.0", "result": null, "update": "20190515"}, "Avast": {"detected": false, "version": "18.4.3895.0", "result": null, "update": "20190515"}, "Qihoo-360": {"detected": false, "version": "1.0.0.1120", "result": null, "update": "20190515"}}, "scan_id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-1557946247", "sha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "resource": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "response_code": 1, "scan_date": "2019-05-15 18:50:47", "permalink": "https://www.virustotal.com/file/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/analysis/1557946247/", "verbose_msg": "Scan finished, information embedded", "total": 63, "positives": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "md5": "d41d8cd98f00b204e9800998ecf8427e"}'; $json = json_encode(json_decode($json)->scans, JSON_PRETTY_PRINT); header('Content-type: text/json'); echo $json;