3v4l.org

run code in 500+ PHP versions simultaneously
<?php $json_response = json_decode('{ "results": [ { "tagging_id": null, "image": "image.jpg", "tags": [ { "confidence": 100, "tag": "herb" }, { "confidence": 98.3637619018555, "tag": "plant" } ] } ] }', true); echo $json_response['results'][0]['tags'][0]['tag'];

preferences:
43.7 ms | 1558 KiB | 5 Q