3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode(unserialize('O:8:"stdClass":5:{s:10:"repository";O:8:"stdClass":8:{s:7:"website";s:50:"http://clients.namanyayg.com/davidado/asianfanfics";s:4:"fork";b:0;s:4:"name";s:22:"Client - Asian Fanfics";s:3:"scm";s:3:"git";s:5:"owner";s:9:"namanyayg";s:12:"absolute_url";s:32:"/namanyayg/client-asian-fanfics/";s:4:"slug";s:20:"client-asian-fanfics";s:10:"is_private";b:1;}s:9:"truncated";b:0;s:7:"commits";a:1:{i:0;O:8:"stdClass":12:{s:4:"node";s:12:"4ec7ba84db68";s:5:"files";a:2:{i:0;O:8:"stdClass":2:{s:4:"type";s:8:"modified";s:4:"file";s:22:"webstile/css/style.css";}i:1;O:8:"stdClass":2:{s:4:"type";s:8:"modified";s:4:"file";s:23:"webstile/css/style.styl";}}s:10:"raw_author";s:34:"Namanyay Goel <mail@namanyayg.com>";s:12:"utctimestamp";s:25:"2014-03-06 10:53:36+00:00";s:6:"author";s:9:"namanyayg";s:9:"timestamp";s:19:"2014-03-06 11:53:36";s:8:"raw_node";s:40:"4ec7ba84db688812a96d83dbb692e81c1749cf5d";s:7:"parents";a:1:{i:0;s:12:"8a12c9de8e22";}s:6:"branch";s:6:"master";s:7:"message";s:28:"Improved styl file slightly ";s:8:"revision";N;s:4:"size";i:-1;}}s:9:"canon_url";s:21:"https://bitbucket.org";s:4:"user";s:9:"namanyayg";}')); ?>
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
{"repository":{"website":"http:\/\/clients.namanyayg.com\/davidado\/asianfanfics","fork":false,"name":"Client - Asian Fanfics","scm":"git","owner":"namanyayg","absolute_url":"\/namanyayg\/client-asian-fanfics\/","slug":"client-asian-fanfics","is_private":true},"truncated":false,"commits":[{"node":"4ec7ba84db68","files":[{"type":"modified","file":"webstile\/css\/style.css"},{"type":"modified","file":"webstile\/css\/style.styl"}],"raw_author":"Namanyay Goel <mail@namanyayg.com>","utctimestamp":"2014-03-06 10:53:36+00:00","author":"namanyayg","timestamp":"2014-03-06 11:53:36","raw_node":"4ec7ba84db688812a96d83dbb692e81c1749cf5d","parents":["8a12c9de8e22"],"branch":"master","message":"Improved styl file slightly\n","revision":null,"size":-1}],"canon_url":"https:\/\/bitbucket.org","user":"namanyayg"}
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/bSuts on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/bSuts on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/bSuts on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/bSuts on line 3