3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dokument = new DOMDocument(); @$dokument->loadHTMLFile('http://seekees.com'); $title = $dokument->getElementsByTagName('title'); echo $title->item(0)->nodeValue; // hodnota první položky
based on cK3k4
Output for 7.2.0 - 7.3.0rc3
Notice: Trying to get property 'nodeValue' of non-object in /in/DudBF on line 6
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.20
Notice: Trying to get property of non-object in /in/DudBF on line 6
Output for hhvm-3.12.14 - 3.17.3
Notice: Cannot access property on non-object in /in/DudBF on line 6