3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $town = "to\xc4\x84wn"; var_dump($town, str_replace("\xc4\x84", "ą", $town); ?>
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ';' in /in/In1bh on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ';' in Nm4Im on line 3
Process exited with code 255.
Output for 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ';' in Nm4Im on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in Nm4Im on line 3
Process exited with code 255.
Output for 4.3.0
Parse error: parse error, unexpected ';' in /in/Nm4Im on line 3
Process exited with code 255.