3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('magic_quotes_sybase', 1); echo addslashes("A'B\"C\\D\0E");
Output for 5.4.0 - 7.1.0
A\'B\"C\\D\0E
Output for 4.3.0 - 5.3.29
A''B"C\D\0E