3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accountNumber = "28947754"; $confirmationNumber = "";//"1352524556"; $sess = array("EL_xml_Error"=>"Invalid credit card number or credit card type. Please try again. If the difficulty continues, please go to http://support.earthlink.net and contact us by email or live chat. You may also call 1-800-719-4660 for assistance."); if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else if(array_key_exists("EL_xml_Error",$sess) && isset($sess["EL_xml_Error"])) { if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else { $displayString = "<h1 style=\"text-decoration: underline;\">Order Failed</h1>"; $displayString .= "<div style=\"color: red;\" id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<strong>EarthLink returned the following error: {$sess["EL_xml_Error"]}</strong>"; $displayString .= "</div>"; echo $displayString; } }
Output for git.master, git.master_jit, rfc.property-hooks
<h1 style="text-decoration: underline;">Order Failed</h1><div style="color: red;" id="orderConfirmed" name="orderConfirmed"><strong>EarthLink returned the following error: Invalid credit card number or credit card type. Please try again. If the difficulty continues, please go to http://support.earthlink.net and contact us by email or live chat. You may also call 1-800-719-4660 for assistance.</strong></div>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
57.73 ms | 402 KiB | 8 Q