3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class View { public function __toString() { $clean_room = function($__file_name, array $__data) { extract($__data, EXTR_REFS); return 'wat'; }; return $clean_room('foo.php', array()); } } $view = new View(); $response = (string)$view; echo $response; var_dump(PHP_DEBUG);
based on XBRJY
Output for 5.3.19 - 5.6.38, 7.0.0 - 7.3.0
watint(0)
Output for hhvm-3.10.1 - 3.22.0
watbool(false)