3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(json_decode(""result" : { "address_components" : [ { "long_name" : "1800", "short_name" : "1800", "types" : [ "street_number" ] }, { "long_name" : "Sutter St", "short_name" : "Sutter St", "types" : [ "route" ] }, { "long_name" : "San Francisco", "short_name" : "San Francisco", "types" : [ "locality", "political" ] }, { "long_name" : "CA", "short_name" : "CA", "types" : [ "administrative_area_level_1", "political" ] }, { "long_name" : "United States", "short_name" : "US", "types" : [ "country", "political" ] }, { "long_name" : "94115", "short_name" : "94115", "types" : [ "postal_code" ] } ], "adr_address" : "\u003cspan class=\"street-address\"\u003e1800 Sutter St\u003c/span\u003e, \u003cspan class=\"locality\"\u003eSan Francisco\u003c/span\u003e, \u003cspan class=\"region\"\u003eCA\u003c/span\u003e \u003cspan class=\"postal-code\"\u003e94115\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eUnited States\u003c/span\u003e", "formatted_address" : "1800 Sutter St, San Francisco, CA, United States", "formatted_phone_number" : "(415) 931-6986", "geometry" : { "location" : { "lat" : 37.786647, "lng" : -122.430157 } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png", "id" : "afb80b61e0d55c61846e0b73792292bbd90df950", "international_phone_number" : "+1 415-931-6986", "name" : "Mums - Home of Shabu-Shabu (Cafe Mums)", "opening_hours" : { "open_now" : false, "periods" : [ { "close" : { "day" : 0, "time" : "2200" }, "open" : { "day" : 0, "time" : "0700" } }, { "close" : { "day" : 1, "time" : "2200" }, "open" : { "day" : 1, "time" : "0700" } }, { "close" : { "day" : 2, "time" : "2200" }, "open" : { "day" : 2, "time" : "0700" } }, { "close" : { "day" : 3, "time" : "2200" }, "open" : { "day" : 3, "time" : "0700" } }, { "close" : { "day" : 4, "time" : "2200" }, "open" : { "day" : 4, "time" : "0700" } }, { "close" : { "day" : 5, "time" : "2200" }, "open" : { "day" : 5, "time" : "0700" } }, { "close" : { "day" : 6, "time" : "2200" }, "open" : { "day" : 6, "time" : "0700" } } ] }, "photos" : [ { "height" : 341, "html_attributions" : [], "photo_reference" : "CnRnAAAADDiIRGrzLmHClTaYlTkDHlOwddbnilSalLj8b1FJ-UbpGlyXnl3_jN6GpyY114vuBnOidg2ZGl5qh8um60CKKEZolDtybBzMYzObIz13mw-dOBXNnRZENG8fLxI3iUjByPE99ogqef-D5zg4tGZLfBIQQEZZyTBOV2wbDdbmgpZ9GBoUCUgn3NfV0KbhstR-_s4EGwllPhI", "width" : 576 }, { "height" : 1366, "html_attributions" : [], "photo_reference" : "CnRnAAAAqGSRlyCtbRybdMBVQFe5aJmspLlSeaQ4WPxvaokFu-6O1w58QFA1RU_B2KenpOb9dQNgF_6dXFFNugJwWkBLvWXTv7Mud0lyjYmXslTOV6BpzHFTVifPRcqncGa5-xgc3HRv-p4FEHncGQXixV_d2hIQSdN8-HjtA-mvmKvhW7RIqxoUjR-jjkFYxfJr5pRoO6pMANFIlNg", "width" : 2048 }, { "height" : 1366, "html_attributions" : [], "photo_reference" : "CnRnAAAARzYafUNJ6jxNsA8TVriKpvrwbVE_l-BMGTv3v9yW1K006g5EIH7yfJPGvpg7tplmDST09rsVfrurIQBor_jE6h_rKcRB8_lb8ySBTNru74w6ENp3uoYkAdnvYiVpEinF2jP4CLlR-oYpVdhRmB2c3RIQUd2YRUxgcF1Lgeh2IeG7HhoUNwdtJ-GlXCQsNFhAYLvuvfvt0OQ", "width" : 2048 } ], "price_level" : 2, "rating" : 3.9, "reference" : "CpQBhwAAABhR2hekwr2oTV1q2xpIekRvcTBvpRTAV2CeBtMfMGEnTCPO_HAgLLi26FlGfspQiqKrT4sv-DWUFNjmaNQOLURlMZIIOUsYFf50qxwq_AakgwBiRpHDMmuzv4pqJa3jXuFvoCC5WanMIcrDaPwlhFs8uFdSzwjAXNyq03rjSMQyzcZaUQ7tWyFttA6Ox34PVRIQ6sInuXVnzgDzfWIhgYiwYRoULwBRycfU1QMH_QcAdMiPbKqjpM8", "reviews" : [ { "aspects" : [ { "rating" : 1, "type" : "overall" } ], "author_name" : "William Le", "author_url" : "https://plus.google.com/101745605215871584532", "language" : "en", "rating" : 3, "text" : "I chose this venue for a friend&#39;s going away dinner and want to start off by saying we had a blast. All you can eat and drink (mainly drink) for ~40$ is something I couldn&#39;t pass up. All of my friends that hadn&#39;t ever eaten shabu really liked the food but as a person that&#39;s had Shabu many times, I&#39;d have to say it was OK at best. The broth is just boiling water and you essentially have to flavor the food yourself. I gave it 3 stars because the food was 2 stars and the venue 4 stars, which is why we&#39;re at 3 ((2+4)/2) = 3. Math. I knew my degree would pay off. It was really busy on friday night but the waiters/waitresses did a great job refilling our beers and sake as requested. I would definitely be back because of how much fun we ended up having but food wise I would rather be at Shabu House.", "time" : 1384973233 }, { "aspects" : [ { "rating" : 2, "type" : "food" }, { "rating" : 2, "type" : "decor" }, { "rating" : 2, "type" : "service" } ], "author_name" : "Vy Duong", "author_url" : "https://plus.google.com/116924811236058596457", "language" : "en", "rating" : 4, "text" : "My fav place in the city for all-you-can-eat shabu shabu. Prices are comparable to other places. The service is always really good - they&#39;re on top of the service and always ready to bring you more plates of meat, veggies and sauces.", "time" : 1373239100 }, { "aspects" : [ { "rating" : 2, "type" : "overall" } ], "author_name" : "Sara Jones", "author_url" : "https://plus.google.com/102007307827759241525", "language" : "en", "rating" : 4, "text" : "This was pretty solid, but not the best food I&#39;ve ever had.", "time" : 1399604008 }, { "aspects" : [ { "rating" : 3, "type" : "overall" } ], "author_name" : "Tony Cerqueira", "author_url" : "https://plus.google.com/106282139975723972610", "language" : "en", "rating" : 5, "text" : "Good system, almost no waiting for more food refills. Very good quality.", "time" : 1398211696 }, { "aspects" : [ { "rating" : 1, "type" : "food" }, { "rating" : 2, "type" : "decor" }, { "rating" : 1, "type" : "service" } ], "author_name" : "David Lim", "author_url" : "https://plus.google.com/110913068296650994295", "language" : "en", "rating" : 3, "text" : "Good ambience and shabu shabu", "time" : 1362183728 } ], "types" : [ "restaurant", "food", "establishment" ], "url" : "https://plus.google.com/105121082350881647460/about?hl=en-US", "user_ratings_total" : 35, "utc_offset" : -420, "vicinity" : "1800 Sutter St, San Francisco", "website" : "http://www.mumssf.com/" }",true));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.290.0070.05612.48
5.4.280.0130.05512.37
5.4.270.0140.04512.37
5.4.260.0120.05912.37
5.4.250.0080.05712.37
5.4.240.0220.06012.37
5.4.230.0090.04712.37
5.4.220.0140.07612.37
5.4.210.0110.05412.36
5.4.200.0190.08812.36
5.4.190.0090.05312.36
5.4.180.0150.05212.36
5.4.170.0080.03912.37
5.4.160.0090.03712.36
5.4.150.0100.08012.36
5.4.140.0090.05212.05
5.4.130.0080.04212.03
5.4.120.0110.04812.00
5.4.110.0100.05012.00
5.4.100.0070.04912.00
5.4.90.0090.04211.99
5.4.80.0130.05211.99
5.4.70.0110.03112.00
5.4.60.0110.04511.99
5.4.50.0080.04611.99
5.4.40.0110.03211.98
5.4.30.0070.03911.97
5.4.20.0070.04411.98
5.4.10.0110.04511.98
5.4.00.0120.04811.47
5.3.280.0090.04912.71
5.3.270.0100.05512.72
5.3.260.0130.04912.72
5.3.250.0100.05212.72
5.3.240.0080.04212.72
5.3.230.0080.04012.71
5.3.220.0060.04812.68
5.3.210.0070.05312.68
5.3.200.0090.03912.68
5.3.190.0120.04312.68
5.3.180.0080.04212.68
5.3.170.0080.03712.67
5.3.160.0060.04212.67
5.3.150.0180.06312.67
5.3.140.0100.05512.66
5.3.130.0070.04712.66
5.3.120.0080.04512.66
5.3.110.0070.05612.66
5.3.100.0100.03812.12
5.3.90.0080.04112.08
5.3.80.0080.05512.08
5.3.70.0070.04112.07
5.3.60.0330.07912.06
5.3.50.0100.03712.00
5.3.40.0050.04712.00
5.3.30.0100.04111.95
5.3.20.0090.05211.73
5.3.10.0070.05911.70
5.3.00.0080.04811.68

preferences:
141.49 ms | 1394 KiB | 7 Q