3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = json_decode('{"key":"UiTYuauM","success":"yes","zips":[{"zip_code":"97006","city":"Beaverton","county":"WASHINGTON","state":"OR","area_code":"503\/971","latitude":"45.522217","longitude":"-122.859176","csa_name":"","cbsa_name":"Portland-Vancouver-Hillsboro OR-WA","region":"West","time_zone":"8"}]}', true); print_r($var['zips']);
based on 0Adgt
Output for 5.2.0 - 7.1.0
Array ( [0] => Array ( [zip_code] => 97006 [city] => Beaverton [county] => WASHINGTON [state] => OR [area_code] => 503/971 [latitude] => 45.522217 [longitude] => -122.859176 [csa_name] => [cbsa_name] => Portland-Vancouver-Hillsboro OR-WA [region] => West [time_zone] => 8 ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/i9GhN on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/i9GhN on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/i9GhN on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/i9GhN on line 2