3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = ' <a style="border:none;" href="http://www.toateblogurile.ro/" target="_blank" title="Bloguri, Bloggeri si Cititori toateBlogurile.ro Blog"><img src="http://static0.toateblogurile.ro/butoane/portocaliu.png?id=28743" alt="Bloguri, Bloggeri si Cititori" style="border:none;" /></a> <a href="http://www.google.ro" rel="nofollow">Google</a> '; $md5 = '28743'; $nodes = $finder->query("//*[contains(concat(' ', normalize-space(@href), ' '), 'http://www.toateblogurile.ro/')]"); var_dump($nodes);
Output for 7.0.5 - 7.3.0alpha1
Notice: Undefined variable: finder in /in/I4gfs on line 10 Fatal error: Uncaught Error: Call to a member function query() on null in /in/I4gfs:10 Stack trace: #0 {main} thrown in /in/I4gfs on line 10
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Notice: Undefined variable: finder in /in/I4gfs on line 10 Fatal error: Uncaught Error: Call to a member function query() on unknown in /in/I4gfs:10 Stack trace: #0 {main} thrown in /in/I4gfs on line 10
Process exited with code 255.
Output for hhvm-3.15.4
Notice: Undefined variable: finder in /in/I4gfs on line 10 Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function query() on a non-object (null)' in /in/I4gfs:10 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Notice: Undefined variable: finder in /in/I4gfs on line 10 Fatal error: Call to a member function query() on null in /in/I4gfs on line 10
Process exited with code 255.