3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? $content = 'document.write(unescape("%3Cscript type=\'text/javascript\' src=\'//'.$site_host.'/media/js/forms.js?r="+Math.round(Math.random()*1000)+"\' charset=\'utf-8\'%3E%3C/script%3E"));'."\n".'document.write(unescape("%3Cscript type=\'text/javascript\' src=\'//'.$site_host.'/form/javascript/'.$form_id.'/?r="+Math.round(Math.random()*1000)+"'. urlencode($aff_id.$str_id.$tr_id.$aff_cmp_id.$cmp_id.$banner_id.$lng.$sep_qs.$mob_token.$p4r_reqid.$newsletter_tr.$p.$at); echo $content;
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: site_host in /in/LcfM2 on line 2 Notice: Undefined variable: site_host in /in/LcfM2 on line 2 Notice: Undefined variable: form_id in /in/LcfM2 on line 2 Notice: Undefined variable: aff_id in /in/LcfM2 on line 3 Notice: Undefined variable: str_id in /in/LcfM2 on line 3 Notice: Undefined variable: tr_id in /in/LcfM2 on line 3 Notice: Undefined variable: aff_cmp_id in /in/LcfM2 on line 3 Notice: Undefined variable: cmp_id in /in/LcfM2 on line 3 Notice: Undefined variable: banner_id in /in/LcfM2 on line 3 Notice: Undefined variable: lng in /in/LcfM2 on line 3 Notice: Undefined variable: sep_qs in /in/LcfM2 on line 3 Notice: Undefined variable: mob_token in /in/LcfM2 on line 3 Notice: Undefined variable: p4r_reqid in /in/LcfM2 on line 3 Notice: Undefined variable: newsletter_tr in /in/LcfM2 on line 3 Notice: Undefined variable: p in /in/LcfM2 on line 3 Notice: Undefined variable: at in /in/LcfM2 on line 3 document.write(unescape("%3Cscript type='text/javascript' src='///media/js/forms.js?r="+Math.round(Math.random()*1000)+"' charset='utf-8'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript' src='///form/javascript//?r="+Math.round(Math.random()*1000)+"
Output for 5.4.9 - 5.6.28
Notice: Undefined variable: site_host in /in/LcfM2 on line 2 Notice: Undefined variable: site_host in /in/LcfM2 on line 2 Notice: Undefined variable: form_id in /in/LcfM2 on line 2 Notice: Undefined variable: str_id in /in/LcfM2 on line 3 Notice: Undefined variable: aff_id in /in/LcfM2 on line 3 Notice: Undefined variable: tr_id in /in/LcfM2 on line 3 Notice: Undefined variable: aff_cmp_id in /in/LcfM2 on line 3 Notice: Undefined variable: cmp_id in /in/LcfM2 on line 3 Notice: Undefined variable: banner_id in /in/LcfM2 on line 3 Notice: Undefined variable: lng in /in/LcfM2 on line 3 Notice: Undefined variable: sep_qs in /in/LcfM2 on line 3 Notice: Undefined variable: mob_token in /in/LcfM2 on line 3 Notice: Undefined variable: p4r_reqid in /in/LcfM2 on line 3 Notice: Undefined variable: newsletter_tr in /in/LcfM2 on line 3 Notice: Undefined variable: p in /in/LcfM2 on line 3 Notice: Undefined variable: at in /in/LcfM2 on line 3 document.write(unescape("%3Cscript type='text/javascript' src='///media/js/forms.js?r="+Math.round(Math.random()*1000)+"' charset='utf-8'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript' src='///form/javascript//?r="+Math.round(Math.random()*1000)+"
Output for 5.3.19 - 5.3.29
<? $content = 'document.write(unescape("%3Cscript type=\'text/javascript\' src=\'//'.$site_host.'/media/js/forms.js?r="+Math.round(Math.random()*1000)+"\' charset=\'utf-8\'%3E%3C/script%3E"));'."\n".'document.write(unescape("%3Cscript type=\'text/javascript\' src=\'//'.$site_host.'/form/javascript/'.$form_id.'/?r="+Math.round(Math.random()*1000)+"'. urlencode($aff_id.$str_id.$tr_id.$aff_cmp_id.$cmp_id.$banner_id.$lng.$sep_qs.$mob_token.$p4r_reqid.$newsletter_tr.$p.$at); echo $content;