3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public $bar; public function __construct($bar) { $this->bar = $bar; } } $a = new Foo("hello"); $b = new Foo(true); var_dump($a == $b);