3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?hh fb_enable_code_coverage(); new stdClass; $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);
Output for 5.4.34 - 5.4.38
Parse error: syntax error, unexpected 'fb_enable_code_coverage' (T_STRING) in /in/2g0KA on line 3
Process exited with code 255.
Output for 5.3.0 - 5.4.32
<?hh fb_enable_code_coverage(); new stdClass; $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);