3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $zmienna1='Ala'; $zmienna2='kota'; $zmienna3=5; $zmienna4=9; echo $zmienna1.' ma '.$zmienna2.\n; echo $zmienna2; echo $zmienna3; echo $zmienna4; ?>
based on XKY1c
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Undefined constant 'n' in /in/iSAm5:6 Stack trace: #0 {main} thrown in /in/iSAm5 on line 6
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Undefined constant 'n' in /in/iSAm5 on line 6
Process exited with code 255.