3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = new stdClass; $o->type = 'cursus'; $a = array('#node' => $o); if ($a['#node']->type == 'cursus') { echo 'Cursus'; } else { echo 'Not cursus'; }
based on PDiDj
Output for 4.3.0 - 7.1.0
Cursus