3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $b = array( "date" => "2014-09-24", "timezone_type" => 3, "timezone" => "Europe/Amsterdam"); $c = array( "date" => "2014-09-24", "timezone_type" => 3, "timezone" => "Europe/Amsterdam"); $o = (object) $b; $o2 = (object) $c; echo $o == $o2, "\n"; echo $o === $o2; ?>
based on QX5bQ
Output for 5.0.0 - 7.1.0
1
Output for 4.3.0 - 4.4.9
1 1