3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.6.1 - 3.11.0
Output Buffering was: Implicit Flush was:
Output for 4.3.1 - 5.2.2, 5.4.0 - 7.0.3
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
Output for 4.3.0
Output Buffering was: 0 Implicit Flush was: 0