3v4l.org

run code in 200+ php & hhvm versions
<?php ini_set('display_errors', 1); ini_set('html_errors', 1); ini_set('default_charset', "Windows-1251"); throw new Exception("\xF2\xE5\xF1\xF2"); // "тест"
based on lVHrU
Output for 7.1.20 - 7.3.1
<br /> <b>Fatal error</b>: Uncaught Exception: ���� in /in/Ah2XP:5 Stack trace: #0 {main} thrown in <b>/in/Ah2XP</b> on line <b>5</b><br />
Process exited with code 255.
Output for 5.4.0 - 5.6.30, 7.0.0 - 7.1.7
<br /> <b>Fatal error</b>: in <b>/in/Ah2XP</b> on line <b>5</b><br />
Process exited with code 255.
Output for hhvm-3.10.1 - 3.17.3
Fatal error: Uncaught exception 'Exception' with message '����' in /in/Ah2XP:5 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.0.0 - 5.0.2, 5.0.5, 5.1.1 - 5.3.29
<br /> <b>Fatal error</b>: Uncaught exception 'Exception' with message '����' in /in/Ah2XP:5 Stack trace: #0 {main} thrown in <b>/in/Ah2XP</b> on line <b>5</b><br />
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/Ah2XP on line 5
Process exited with code 255.
Output for 5.0.3 - 5.0.4
<br /> <b>Fatal error</b>: Uncaught exception 'Exception' with message '����' in /in/Ah2XP:5 Stack trace: #0 /in/Ah2XP(5): unknown() #1 {main} thrown in <b>/in/Ah2XP</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_NEW in /in/Ah2XP on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_NEW in /in/Ah2XP on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Ah2XP on line 5
Process exited with code 255.