3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh fb_enable_code_coverage(); new stdClass; new Memcached; new ZipArchive; $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);
Output for hhvm-3.10.0 - 3.12.0
array(4) { ["systemlib.phpzip"]=> array(1) { [416]=> int(1) } ["systemlib.phpmemcached"]=> array(1) { [21]=> int(1) } ["systemlib.php"]=> array(1) { [8]=> int(1) } ["/in/4SvpJ"]=> array(5) { [3]=> int(1) [5]=> int(2) [6]=> int(2) [7]=> int(2) [9]=> int(1) } }
Output for 5.3.0 - 5.4.32
<?hh fb_enable_code_coverage(); new stdClass; new Memcached; new ZipArchive; $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);