3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $to = 'fleslie@theworlink.com' //values $acctNo = _POST['acctno']; $advertiser = _POST['advName']; $Order = _POST['orederNo']; $ScreenShot = _POST['checkbox']; $start = _POST['startDate']; $endDate = _POST['endDate']; $cost = _POST['value']; $url = _POST['URL']; $pageTO = _POST['page']; //subject $subject = 'Web Ad For '. $advertiser; //message $message = ' <html> <head> <title>{'advertiser'} digital ad order</title> </head> <body> <div id="header"> <p class="var"> {'acctNo'} </p> <p class="var"> {'advertiser'} </p> <p class="var"> {'Order'} </p> </div> </body> </html> '; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail($to, $subject, $message, $headers); ?>
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected '$acctNo' (T_VARIABLE) in /in/F1VWK on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/F1VWK on line 5
Process exited with code 255.