3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'text davor'; header ('HTTP/1.1 301 Moved Permanently'); header ('Location: /index.php?mod=bildergalerie'.$sess_id);
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
text davor Warning: Cannot modify header information - headers already sent by (output started at /in/3FWHu:2) in /in/3FWHu on line 3 Notice: Undefined variable: sess_id in /in/3FWHu on line 4 Warning: Cannot modify header information - headers already sent by (output started at /in/3FWHu:2) in /in/3FWHu on line 4
Output for hhvm-3.10.0 - 3.12.0
text davor Warning: Cannot modify header information - headers already sent in /in/3FWHu on line 3 Notice: Undefined variable: sess_id in /in/3FWHu on line 4 Warning: Cannot modify header information - headers already sent in /in/3FWHu on line 4
Output for 5.0.4 - 5.2.2
text davor Notice: Undefined variable: sess_id in /in/3FWHu on line 4
Output for 4.3.0 - 5.0.3
text davor Notice: Undefined variable: sess_id in /in/3FWHu on line 4