3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"nombre": "Gorka", "conocimientos": {"java":"algo", "go": "aprendiendo", "c": "alto", "python": "alto", "php":"master and commander"}}'; $objetoJson = json_decode($json); print_r($objetoJson); $arrayJson = json_decode($json, true); print_r($arrayJson);

preferences:
27.92 ms | 405 KiB | 5 Q