3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $matches = null; if (!empty($this->getTeams())) { $matches = $this->getMatches($this->getStartDate(), $this->getEndDate(), 2, $orderBy); $this->awaymatches = $matches; } return $matches;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/b0bTb:4 Stack trace: #0 {main} thrown in /in/b0bTb on line 4
Process exited with code 255.
Output for 5.5.24 - 5.6.28
Fatal error: Using $this when not in object context in /in/b0bTb on line 4
Process exited with code 255.
Output for 5.3.18 - 5.4.45
Fatal error: Can't use method return value in write context in /in/b0bTb on line 4
Process exited with code 255.