3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "{\"name\":\"HTML\",\"html\":\"<script type=\"text\\\/javascript\">\\r\\ngform.addFilter( &apos;gform_product_total&apos;, function(total, formId){\\r\\n return total; \\\/\\\/amount you wish to display in the Total \\r\\n } );\\r\\n<\\\/script>\",\"hidden\":\"0\",\"columns\":\"6\",\"e_id\":\"12\"}"; echo stripslashes($a);
Output for 4.3.0 - 7.2.0
{"name":"HTML","html":"<script type="text\/javascript">rngform.addFilter( &apos;gform_product_total&apos;, function(total, formId){rn return total; \/\/amount you wish to display in the Total rn } );rn<\/script>","hidden":"0","columns":"6","e_id":"12"}