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 - 7.2.0
watint(0)