3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class SomeClass implements \JsonSerializable { private $content; public function jsonSerialize() { return $this->content; } }
Output for 5.5.0 - 7.3.0beta1