3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Applicant { function getFirstName() { } } $applicant = new Applicant; if (empty($applicant->getFirstName());
Output for 5.3.0 - 5.4.23
Fatal error: Can't use method return value in write context in /in/BQVsJ on line 8
Process exited with code 255.