3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( json_decode( '[{"id":"rubyformatters@seleniumhq.org","installed":true,"code":{"ideExtensions":[],"userExtensions":[],"formatters":["rspecwdformatters;Ruby / RSpec / WebDriver;chrome://ruby-formatters/content/formats/ruby-wd-rspec.js;webdriver","rubywdformatters;Ruby / Test::Unit / WebDriver;chrome://ruby-formatters/content/formats/ruby-wd.js;webdriver","rspecformatters;Ruby / RSpec / Remote Control;chrome://ruby-formatters/content/formats/ruby-rc-rspec.js;undefined","rubyformatter;Ruby / Test::Unit / Remote Control;chrome://ruby-formatters/content/formats/ruby-rc.js;undefined"]},"options":{"disabled":false,"autoDisabled":false}},{"id":"pythonformatters@seleniumhq.org","installed":true,"code":{"ideExtensions":[],"userExtensions":[],"formatters":["pythonwdformatter;Python 2 / unittest / WebDriver;chrome://python-formatters/content/formats/python2-wd.js;webdriver","pythonformatters;Python 2 / unittest / Remote Control;chrome://python-formatters/content/formats/python2-rc.js;undefined"]},"options":{"disabled":false,"autoDisabled":false}},{"id":"javaformatters@seleniumhq.org","installed":true,"code":{"ideExtensions":[],"userExtensions":[],"formatters":["webdriverjunit4formatter;Java / JUnit 4 / WebDriver;chrome://java-formatters/content/formats/webdriver-junit4.js;webdriver","backedjunit4formatter;Java / JUnit 4 / WebDriver Backed;chrome://java-formatters/content/formats/java-backed-junit4.js;undefined","junit4formatter;Java / JUnit 4 / Remote Control;chrome://java-formatters/content/formats/java-rc-junit4.js;undefined","junit3formatter;Java / JUnit 3 / Remote Control;chrome://java-formatters/content/formats/java-rc.js;undefined","testngformatter;Java / TestNG / Remote Control;chrome://java-formatters/content/formats/java-rc-testng.js;undefined"]},"options":{"disabled":false,"autoDisabled":false}},{"id":"csharpformatters@seleniumhq.org","installed":true,"code":{"ideExtensions":[],"userExtensions":[],"formatters":["csharpwdformatter;C# / NUnit / WebDriver;chrome://csharp-formatters/content/formats/cs-wd.js;webdriver","csharpformatter;C# / NUnit / Remote Control;chrome://csharp-formatters/content/formats/cs-rc.js;undefined"]},"options":{"disabled":false,"autoDisabled":false}}]' ) );
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(4) { [0]=> object(stdClass)#1 (4) { ["id"]=> string(29) "rubyformatters@seleniumhq.org" ["installed"]=> bool(true) ["code"]=> object(stdClass)#2 (3) { ["ideExtensions"]=> array(0) { } ["userExtensions"]=> array(0) { } ["formatters"]=> array(4) { [0]=> string(110) "rspecwdformatters;Ruby / RSpec / WebDriver;chrome://ruby-formatters/content/formats/ruby-wd-rspec.js;webdriver" [1]=> string(108) "rubywdformatters;Ruby / Test::Unit / WebDriver;chrome://ruby-formatters/content/formats/ruby-wd.js;webdriver" [2]=> string(113) "rspecformatters;Ruby / RSpec / Remote Control;chrome://ruby-formatters/content/formats/ruby-rc-rspec.js;undefined" [3]=> string(110) "rubyformatter;Ruby / Test::Unit / Remote Control;chrome://ruby-formatters/content/formats/ruby-rc.js;undefined" } } ["options"]=> object(stdClass)#3 (2) { ["disabled"]=> bool(false) ["autoDisabled"]=> bool(false) } } [1]=> object(stdClass)#4 (4) { ["id"]=> string(31) "pythonformatters@seleniumhq.org" ["installed"]=> bool(true) ["code"]=> object(stdClass)#5 (3) { ["ideExtensions"]=> array(0) { } ["userExtensions"]=> array(0) { } ["formatters"]=> array(2) { [0]=> string(116) "pythonwdformatter;Python 2 / unittest / WebDriver;chrome://python-formatters/content/formats/python2-wd.js;webdriver" [1]=> string(120) "pythonformatters;Python 2 / unittest / Remote Control;chrome://python-formatters/content/formats/python2-rc.js;undefined" } } ["options"]=> object(stdClass)#6 (2) { ["disabled"]=> bool(false) ["autoDisabled"]=> bool(false) } } [2]=> object(stdClass)#7 (4) { ["id"]=> string(29) "javaformatters@seleniumhq.org" ["installed"]=> bool(true) ["code"]=> object(stdClass)#8 (3) { ["ideExtensions"]=> array(0) { } ["userExtensions"]=> array(0) { } ["formatters"]=> array(5) { [0]=> string(122) "webdriverjunit4formatter;Java / JUnit 4 / WebDriver;chrome://java-formatters/content/formats/webdriver-junit4.js;webdriver" [1]=> string(128) "backedjunit4formatter;Java / JUnit 4 / WebDriver Backed;chrome://java-formatters/content/formats/java-backed-junit4.js;undefined" [2]=> string(116) "junit4formatter;Java / JUnit 4 / Remote Control;chrome://java-formatters/content/formats/java-rc-junit4.js;undefined" [3]=> string(109) "junit3formatter;Java / JUnit 3 / Remote Control;chrome://java-formatters/content/formats/java-rc.js;undefined" [4]=> string(115) "testngformatter;Java / TestNG / Remote Control;chrome://java-formatters/content/formats/java-rc-testng.js;undefined" } } ["options"]=> object(stdClass)#9 (2) { ["disabled"]=> bool(false) ["autoDisabled"]=> bool(false) } } [3]=> object(stdClass)#10 (4) { ["id"]=> string(31) "csharpformatters@seleniumhq.org" ["installed"]=> bool(true) ["code"]=> object(stdClass)#11 (3) { ["ideExtensions"]=> array(0) { } ["userExtensions"]=> array(0) { } ["formatters"]=> array(2) { [0]=> string(102) "csharpwdformatter;C# / NUnit / WebDriver;chrome://csharp-formatters/content/formats/cs-wd.js;webdriver" [1]=> string(105) "csharpformatter;C# / NUnit / Remote Control;chrome://csharp-formatters/content/formats/cs-rc.js;undefined" } } ["options"]=> object(stdClass)#12 (2) { ["disabled"]=> bool(false) ["autoDisabled"]=> bool(false) } } }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/kqpTc 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/kqpTc 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/kqpTc 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/kqpTc on line 2