3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = array('/Ã?/', '/Å?/') $t = preg_replace($pattern, array('Á', 'Ő'), 'Ã?RVÃZTÅ°RÅ?TÃœKÖRFÚRÓGÉP'); print $t;
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.29, 5.6.7 - 5.6.13
Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /in/2BmHC on line 5
Process exited with code 255.

preferences:
183.57 ms | 1395 KiB | 63 Q