3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php fb_enable_code_coverage(); $ref = $dateFormater = IntlDateFormatter::create( 'en_EN', IntlDateFormatter::LONG, IntlDateFormatter::NONE ); $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function fb_enable_code_coverage() in /in/9CuGs:4 Stack trace: #0 {main} thrown in /in/9CuGs on line 4
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
array(2) { ["systemlib.phpicu_date_fmt"]=> array(5) { [48]=> int(1) [51]=> int(2) [52]=> int(1) [55]=> int(2) [59]=> int(3) } ["/in/9CuGs"]=> array(6) { [4]=> int(1) [7]=> int(1) [8]=> int(1) [9]=> int(1) [10]=> int(5) [13]=> int(1) } }
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function fb_enable_code_coverage() in /in/9CuGs on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected ',', expecting '(' in /in/9CuGs on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected ',', expecting '(' in /in/9CuGs on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'('' in /in/9CuGs on line 8
Process exited with code 255.