3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class foo { function __toString() { return "bar";}} $a = fopen(__FILE__, "r"); var_dump($a and $a);
based on ulRUN
Output for 4.3.0 - 7.1.0
bool(true)