3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(addcslashes(stripcslashes('~\~test~', '~')));
based on 9HX2J
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
Warning: stripcslashes() expects exactly 1 parameter, 2 given in /in/1PPmF on line 3 Warning: addcslashes() expects exactly 2 parameters, 1 given in /in/1PPmF on line 3 NULL