3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('n', "\n"); $result = 'text'; $text = $result.\n; // к концу строки будет прикреплен перевод строки var_dump($text);
Output for 5.3.0 - 7.1.0
string(5) "text "
Output for 4.3.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oqR63 on line 6 string(5) "text "