3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

<?php $implicit_flush = ini_get('implicit_flush'); $output_buffering = ini_get('output_buffering'); ob_start(); echo ""; ob_end_flush(); echo ""; header('foo'); printf("Output Buffering was: %s\n", $output_buffering); printf("Implicit Flush was: %s\n", $implicit_flush);
Output for hhvm-3.0.1 - 3.2.0
Output Buffering was: Implicit Flush was:
Output for 4.3.0 - 5.2.2, 5.4.0 - 5.6.0, php7@20140507 - 20140901
Output Buffering was: 0 Implicit Flush was: 1
Output for 5.2.3 - 5.3.29
Warning: Cannot modify header information - headers already sent by (output started at /in/moj7W:8) in /in/moj7W on line 10 Output Buffering was: 0 Implicit Flush was: 1