3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{"action":"updated","event":"updated","timestamp":"2014-11-03T08:35:04Z","inquiry":{"id":1468682,"url":"https:\/\/www.roomorama.com\/host\/inquiries\/1468682","uri":"https:\/\/api.roomorama.com\/v1.0\/host\/inquiries\/1468682","state":"guest_to_pay","type":"express","flow":"express_booking","check_in":"2014-11-03","check_out":"2014-11-07","num_guests":2,"base_rental":200,"tax":0,"processing_fee":0,"extra_guests_surcharge":0,"subtotal":200,"total":200,"roomorama_fee":30,"currency_code":"EUR","currency_symbol":"\u20ac","created_at":"2014-11-03T08:35:01Z","updated_at":"2014-11-03T08:35:01Z","room":{"id":73200,"internal_id":"Double room","url":"https:\/\/www.roomorama.com\/rooms\/73200","uri":"https:\/\/api.roomorama.com\/v1.0\/host\/rooms\/73200"},"user":{"id":596852,"display":"tourismidea_181","url":"https:\/\/www.roomorama.com\/users\/596852","uri":"https:\/\/api.roomorama.com\/v1.0\/users\/596852"},"host":{"id":234652,"display":"Abbington_House","url":"https:\/\/www.roomorama.com\/users\/Abbington_House","uri":"https:\/\/api.roomorama.com\/v1.0\/users\/234652"}}}'));
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
object(stdClass)#1 (4) { ["action"]=> string(7) "updated" ["event"]=> string(7) "updated" ["timestamp"]=> string(20) "2014-11-03T08:35:04Z" ["inquiry"]=> object(stdClass)#2 (23) { ["id"]=> int(1468682) ["url"]=> string(48) "https://www.roomorama.com/host/inquiries/1468682" ["uri"]=> string(53) "https://api.roomorama.com/v1.0/host/inquiries/1468682" ["state"]=> string(12) "guest_to_pay" ["type"]=> string(7) "express" ["flow"]=> string(15) "express_booking" ["check_in"]=> string(10) "2014-11-03" ["check_out"]=> string(10) "2014-11-07" ["num_guests"]=> int(2) ["base_rental"]=> int(200) ["tax"]=> int(0) ["processing_fee"]=> int(0) ["extra_guests_surcharge"]=> int(0) ["subtotal"]=> int(200) ["total"]=> int(200) ["roomorama_fee"]=> int(30) ["currency_code"]=> string(3) "EUR" ["currency_symbol"]=> string(3) "€" ["created_at"]=> string(20) "2014-11-03T08:35:01Z" ["updated_at"]=> string(20) "2014-11-03T08:35:01Z" ["room"]=> object(stdClass)#3 (4) { ["id"]=> int(73200) ["internal_id"]=> string(11) "Double room" ["url"]=> string(37) "https://www.roomorama.com/rooms/73200" ["uri"]=> string(47) "https://api.roomorama.com/v1.0/host/rooms/73200" } ["user"]=> object(stdClass)#4 (4) { ["id"]=> int(596852) ["display"]=> string(15) "tourismidea_181" ["url"]=> string(38) "https://www.roomorama.com/users/596852" ["uri"]=> string(43) "https://api.roomorama.com/v1.0/users/596852" } ["host"]=> object(stdClass)#5 (4) { ["id"]=> int(234652) ["display"]=> string(15) "Abbington_House" ["url"]=> string(47) "https://www.roomorama.com/users/Abbington_House" ["uri"]=> string(43) "https://api.roomorama.com/v1.0/users/234652" } } }
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/6dWph on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/6dWph on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/6dWph on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/6dWph on line 3

preferences:
280.43 ms | 401 KiB | 423 Q