3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php header("X-Foo: Bar\rX-Token: Bar");
Output for 5.3.11 - 5.3.29, 5.4.1 - 5.6.28, 7.0.0 - 7.1.0
Warning: Header may not contain more than a single header, new line detected in /in/bsoNP on line 3
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Header may not contain more than a single header, new line detected in /in/bsoNP:3 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Header may not contain more than a single header, new line detected in /in/bsoNP on line 3
Process exited with code 255.
Output for 5.4.0
Warning: Header may not contain more than a single header, new line detected. in /in/bsoNP on line 3
Output for 4.3.0 - 5.3.10