3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = 'http://sd.ru?sd=10&b=20&a="asdsd"'."&m='sd'"; echo htmlentities($s); echo "\n\n"; echo htmlentities($s, NULL);
Output for 4.3.2 - 7.1.0
http://sd.ru?sd=10&amp;b=20&amp;a=&quot;asdsd&quot;&amp;m='sd' http://sd.ru?sd=10&amp;b=20&amp;a="asdsd"&amp;m='sd'
Output for 4.3.0 - 4.3.1
http://sd.ru?sd=10&amp;b=20&amp;a=&quot;asdsd&quot;&amp;m='sd'
Process exited with code 139.