3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 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.0.4 - 7.1.0
Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 2 Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 2 Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 3 <!-- LeadFormix --><script type='text/javascript'>bf_action_name='';bf_idsite=1234;'.url_id=''.';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 -->
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 2 Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 2 Notice: Undefined variable: crmCampaignId in /in/Xi5ZX on line 3 <!-- LeadFormix --><script type='text/javascript'>bf_action_name='';bf_idsite=1234;'.url_id=''.';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 -->