3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $crmCampaignId=2222ajdsfsakdjf; if($crmCampaignId!='null' && $crmCampaignId!='undefined'){ $urlId = 'url_id=\''.$crmCampaignId.'\''; } else{ $urlId = "url_id=''"; } $script="<!-- LeadFormix --><script type='text/javascript'>bf_action_name='';bf_idsite=8635;'.$urlId.';bf_url='https://vlog.leadformix.com/bf/bf.php';(function(){var lfh=document.createElement('script');lfh.type='text/javascript';lfh.async=true;lfh.src='https://vlog.leadformix.com/bf/lfx.js';var s=document.getElementsByTagName('head')[0];s.appendChild(lfh);})();</script><noscript><p>Market Automation<img src='https://vlog.leadformix.com/bf/bf.php' style='border:0' alt='Marketing Automation Platform'/></p></noscript><!-- /LeadFormix -->"; echo $script = str_replace(";bf_idsite=8635;", ";bf_idsite=1234;", $script); ?>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'ajdsfsakdjf' (T_STRING) in /in/CaA4k on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/CaA4k on line 2
Process exited with code 255.