3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = new stdClass(); $test->whatefer = ['blah' => 'ebook']; $testing = @$test->whatefer['blah']; var_dump($testing); if ($hmm = @$test->whatefer['blah'] && isset($hmm) && $hmm === 'ebook') { echo "yep"; } else { echo "nope"; }
based on 82PDu
Output for 5.5.0 - 7.2.6
string(5) "ebook" nope