3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ?> $( "#submitContent" ).button(); $(function() { $("#submitContent").on("click",function(e) { e.preventDefault(); var userContent = tinymce.get('userContent').getContent(); $.post('submitContent.php', {'userContent': userContent}); setTimeout(function(){ $("#mainWrapper").load("featured.php"); },500); }); });
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
$( "#submitContent" ).button(); $(function() { $("#submitContent").on("click",function(e) { e.preventDefault(); var userContent = tinymce.get('userContent').getContent(); $.post('submitContent.php', {'userContent': userContent}); setTimeout(function(){ $("#mainWrapper").load("featured.php"); },500); }); });