3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $to = "arofocus@gmail.com"; $from= "www.pcdindia.com"; $subject="Dealership form has been submitted by $name1"; $name1=$_REQUEST['name1']; $address=$_REQUEST['address']; $telephone= $_REQUEST['telephone'] ; $mobile= $_REQUEST['mobile'] ; $email= $_REQUEST['email'] ; $partner= $_REQUEST['partner'] ; $residence= $_REQUEST['residence'] ; $vat= $_REQUEST['vat'] ; $cst= $_REQUEST['cst'] ; $tin= $_REQUEST['tin'] ; $druglicence= $_REQUEST['druglicence'] ; $companies= $_REQUEST['companies'] ; $area = $_REQUEST['area'] ; $monoply = $_REQUEST['monoply'] ; $Dlcopy = $_FILES['Dlcopy']['name']; $up = explode( ".", $Dlcopy ); $name= $up[0]; $end = end($up); $name1= rand(0,1000000).".".$end; if($Dlcopy!="") { copy ($_FILES['Dlcopy']['tmp_name'],"DL/".$name1 ); } $message=" Name Of the Firm -$name1 Complete Address-$address Telephone Nos.-$telephone Mobile Nos.-$mobile Email Address-$email Name Of Prop./Partner-$partner Residence Address-$residence Vat No-$vat Cst No-$cst Tin No-$tin Drug Licence No-$druglicence Companies with presently working-$companies Area covered-$area Area required for Monoply-$monoply DL and Tin Copy - http://pcdindia.com/DL/$name1 "; $sent = mail($to, $subject, $message, $headers) ; if($sent) { header("location:thanks.php"); } ?>
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: name1 in /in/JuGZB on line 4 Notice: Undefined index: name1 in /in/JuGZB on line 5 Notice: Undefined index: address in /in/JuGZB on line 6 Notice: Undefined index: telephone in /in/JuGZB on line 7 Notice: Undefined index: mobile in /in/JuGZB on line 8 Notice: Undefined index: email in /in/JuGZB on line 9 Notice: Undefined index: partner in /in/JuGZB on line 10 Notice: Undefined index: residence in /in/JuGZB on line 11 Notice: Undefined index: vat in /in/JuGZB on line 12 Notice: Undefined index: cst in /in/JuGZB on line 13 Notice: Undefined index: tin in /in/JuGZB on line 14 Notice: Undefined index: druglicence in /in/JuGZB on line 15 Notice: Undefined index: companies in /in/JuGZB on line 16 Notice: Undefined index: area in /in/JuGZB on line 17 Notice: Undefined index: monoply in /in/JuGZB on line 18 Notice: Undefined index: Dlcopy in /in/JuGZB on line 19 Notice: Undefined variable: headers in /in/JuGZB on line 50 Warning: mail() has been disabled for security reasons in /in/JuGZB on line 50
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: name1 in /in/JuGZB on line 4 Notice: Undefined index: name1 in /in/JuGZB on line 5 Notice: Undefined index: address in /in/JuGZB on line 6 Notice: Undefined index: telephone in /in/JuGZB on line 7 Notice: Undefined index: mobile in /in/JuGZB on line 8 Notice: Undefined index: email in /in/JuGZB on line 9 Notice: Undefined index: partner in /in/JuGZB on line 10 Notice: Undefined index: residence in /in/JuGZB on line 11 Notice: Undefined index: vat in /in/JuGZB on line 12 Notice: Undefined index: cst in /in/JuGZB on line 13 Notice: Undefined index: tin in /in/JuGZB on line 14 Notice: Undefined index: druglicence in /in/JuGZB on line 15 Notice: Undefined index: companies in /in/JuGZB on line 16 Notice: Undefined index: area in /in/JuGZB on line 17 Notice: Undefined index: monoply in /in/JuGZB on line 18 Notice: Undefined index: Dlcopy in /in/JuGZB on line 19
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: name1 in /in/JuGZB on line 4 Notice: Undefined index: name1 in /in/JuGZB on line 5 Notice: Undefined index: address in /in/JuGZB on line 6 Notice: Undefined index: telephone in /in/JuGZB on line 7 Notice: Undefined index: mobile in /in/JuGZB on line 8 Notice: Undefined index: email in /in/JuGZB on line 9 Notice: Undefined index: partner in /in/JuGZB on line 10 Notice: Undefined index: residence in /in/JuGZB on line 11 Notice: Undefined index: vat in /in/JuGZB on line 12 Notice: Undefined index: cst in /in/JuGZB on line 13 Notice: Undefined index: tin in /in/JuGZB on line 14 Notice: Undefined index: druglicence in /in/JuGZB on line 15 Notice: Undefined index: companies in /in/JuGZB on line 16 Notice: Undefined index: area in /in/JuGZB on line 17 Notice: Undefined index: monoply in /in/JuGZB on line 18 Notice: Undefined index: Dlcopy in /in/JuGZB on line 19 Notice: Undefined variable: headers in /in/JuGZB on line 50 Warning: mail() has been disabled for security reasons in /in/JuGZB on line 50
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: name1 in /in/JuGZB on line 4 Notice: Undefined index: name1 in /in/JuGZB on line 5 Notice: Undefined index: address in /in/JuGZB on line 6 Notice: Undefined index: telephone in /in/JuGZB on line 7 Notice: Undefined index: mobile in /in/JuGZB on line 8 Notice: Undefined index: email in /in/JuGZB on line 9 Notice: Undefined index: partner in /in/JuGZB on line 10 Notice: Undefined index: residence in /in/JuGZB on line 11 Notice: Undefined index: vat in /in/JuGZB on line 12 Notice: Undefined index: cst in /in/JuGZB on line 13 Notice: Undefined index: tin in /in/JuGZB on line 14 Notice: Undefined index: druglicence in /in/JuGZB on line 15 Notice: Undefined index: companies in /in/JuGZB on line 16 Notice: Undefined index: area in /in/JuGZB on line 17 Notice: Undefined index: monoply in /in/JuGZB on line 18 Notice: Undefined index: Dlcopy in /in/JuGZB on line 19 Notice: Undefined variable: headers in /in/JuGZB on line 50 Warning: mail() has been disabled for security reasons in /in/JuGZB on line 50