3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str ='{"before":"2d199206ef9478b77658b43cd0b3d8a018eab696","after":"39deb4223c76effdfd6d0a33d319170e193668dd","ref":"refs/heads/master","user_id":7,"user_name":"Thomas Perez","project_id":1,"repository":{"name":"Assemblages","url":"git@depot.id2i.web:id2i/assemblages.git","description":"Assemblages project","homepage":"http://depot.id2i.web/id2i/assemblages"},"commits":[{"id":"39deb4223c76effdfd6d0a33d319170e193668dd","message":"add gitv footer","timestamp":"2014-01-31T16:34:27+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/39deb4223c76effdfd6d0a33d319170e193668dd","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}},{"id":"b6a1dac51f8ff23dc7098d5212e7b33f6c345d03","message":"set debug to true","timestamp":"2014-01-31T16:33:33+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/b6a1dac51f8ff23dc7098d5212e7b33f6c345d03","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}},{"id":"2d199206ef9478b77658b43cd0b3d8a018eab696","message":"reverse commit of the year","timestamp":"2014-01-31T16:31:34+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/2d199206ef9478b77658b43cd0b3d8a018eab696","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}}],"total_commits_count":3}'; print_r($str);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
{"before":"2d199206ef9478b77658b43cd0b3d8a018eab696","after":"39deb4223c76effdfd6d0a33d319170e193668dd","ref":"refs/heads/master","user_id":7,"user_name":"Thomas Perez","project_id":1,"repository":{"name":"Assemblages","url":"git@depot.id2i.web:id2i/assemblages.git","description":"Assemblages project","homepage":"http://depot.id2i.web/id2i/assemblages"},"commits":[{"id":"39deb4223c76effdfd6d0a33d319170e193668dd","message":"add gitv footer","timestamp":"2014-01-31T16:34:27+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/39deb4223c76effdfd6d0a33d319170e193668dd","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}},{"id":"b6a1dac51f8ff23dc7098d5212e7b33f6c345d03","message":"set debug to true","timestamp":"2014-01-31T16:33:33+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/b6a1dac51f8ff23dc7098d5212e7b33f6c345d03","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}},{"id":"2d199206ef9478b77658b43cd0b3d8a018eab696","message":"reverse commit of the year","timestamp":"2014-01-31T16:31:34+01:00","url":"http://depot.id2i.web/id2i/assemblages/commit/2d199206ef9478b77658b43cd0b3d8a018eab696","author":{"name":"Thomas Perez","email":"mistralconnexion@gmail.com"}}],"total_commits_count":3}