3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $email_template = <<<EOF <style>p{margin: 1em 0;line-height:22px}span.yshortcuts, a span{color:#000}span.yshortcuts:hover,span.yshortcuts:active, span.yshortcuts:focus{text-decoration:none;color:#000;background-color:none;border:none}</style> <table align="center" cellpadding="0" cellspacing="0" id="container" style="margin: 0px; padding: 0px; width: 100%;"> <tbody> <tr> <td> <p><img alt="Image" class="fr-fin fr-dib" src="https://d2vsckke8ub29r.cloudfront.net/images/trakdesk/logo/logo_small.png" width="182"></p> <table align="center" cellpadding="0" cellspacing="0" style="margin: 0px auto; text-align: left; color: rgb(153, 153, 153); line-height: 15pt; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; border-collapse: collapse;max-width: 720px; width:100%; border: 1px solid #ECECEC;"> <tbody> <tr> <td bgcolor="#ffffff" style="padding: 15px 20px; line-height: 15pt;"> <h2 style="color: rgb(51, 153, 204); text-align: left;"><span style="font-size: 30px; font-weight: normal;">Congratulations!</span></h2> <p><span style="font-size: 14px;">Your Helpdesk account has been successfully created. </span></p> <p><span style="font-size: 14px;">Please follow the Setup Password link below to setup your account password.</span></p> <p><br> </p> <table cellspacing="0" cellpadding="0"> <tbody> <tr> <td align="center" bgcolor="#e9703e" style="padding: 10px; border-radius:3px; color: #ffffff; display: block;"><a href="{{ setup_password_url }}" style="font-family: sans-serif; font-size: 16px; text-decoration: none;"><span style="color: #ffffff;">Setup Password</span></a></td> </tr> </tbody> </table> </td> </tr> <tr> <td bgcolor="#ffffff" style="padding: 15px 20px; line-height: 15pt; font-family: Arial, Helvetica, sans-serif; border-top-color: rgb(235, 235, 235); border-top: 1px solid #ececec;"> <p style="color: rgb(51, 51, 51); font-size: 13px; text-align: center;"><span style="color: rgb(169, 169, 169); font-size: 14px;">Thank you,</span></p> <p style="text-align: center;"><span style="font-size: 14px;">Trakdesk Team</span></p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> EOF;
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /in/1BJgU on line 49
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_END_HEREDOC or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /in/1BJgU on line 49
Process exited with code 255.