3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string='{"responseHeader":{"status":0,"QTime":0,"params":{"q":"94305","wt":"json","rows":"1"}},"response":{"numFound":165,"start":0,"docs":[{"price":"","tags":"ATMs","phone_n":"","location":"37.42409897,-122.1709976 ","store":"Discover ATM","store_id":"478602","state":"CA","latitude":"37.42409897","address":"459 LAGUNITA","zipcode_n":"94305","longitude":"-122.1709976\r","url":"Discover_ATM_459_LAGUNITA_Stanford_CA_94305","city":"Stanford","category":"ATMs","text":["","CA","459 LAGUNITA","94305","Stanford"],"spell":["Discover ATM"]}]}}'; $json=json_decode($string); var_dump($json);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#3 (2) { ["responseHeader"]=> object(stdClass)#1 (3) { ["status"]=> int(0) ["QTime"]=> int(0) ["params"]=> object(stdClass)#2 (3) { ["q"]=> string(5) "94305" ["wt"]=> string(4) "json" ["rows"]=> string(1) "1" } } ["response"]=> object(stdClass)#4 (3) { ["numFound"]=> int(165) ["start"]=> int(0) ["docs"]=> array(1) { [0]=> object(stdClass)#5 (16) { ["price"]=> string(0) "" ["tags"]=> string(4) "ATMs" ["phone_n"]=> string(0) "" ["location"]=> string(25) "37.42409897,-122.1709976 " ["store"]=> string(12) "Discover ATM" ["store_id"]=> string(6) "478602" ["state"]=> string(2) "CA" ["latitude"]=> string(11) "37.42409897" ["address"]=> string(12) "459 LAGUNITA" ["zipcode_n"]=> string(5) "94305" ["longitude"]=> string(13) "-122.1709976 " ["url"]=> string(43) "Discover_ATM_459_LAGUNITA_Stanford_CA_94305" ["city"]=> string(8) "Stanford" ["category"]=> string(4) "ATMs" ["text"]=> array(5) { [0]=> string(0) "" [1]=> string(2) "CA" [2]=> string(12) "459 LAGUNITA" [3]=> string(5) "94305" [4]=> string(8) "Stanford" } ["spell"]=> array(1) { [0]=> string(12) "Discover ATM" } } } } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
49.85 ms | 405 KiB | 8 Q