3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST = array(); $_POST["orderId"]="9879879879_afadak31"; $_POST["orderAmount"]="190.0"; $_POST["referenceId"]="16242"; $_POST["txStatus"]="SUCCESS"; $_POST["paymentMode"]="NET_BANKING"; $_POST["txMsg"]="OK"; $_POST["txTime"]="2018-02-16 01:30:36"; $orderId = $_POST["orderId"]; $orderAmount = $_POST["orderAmount"]; $referenceId = $_POST["referenceId"]; $txStatus = $_POST["txStatus"]; $paymentMode = $_POST["paymentMode"]; $txMsg = $_POST["txMsg"]; $txTime = $_POST["txTime"]; $data = $orderId.$orderAmount.$referenceId.$txStatus.$paymentMode.$txMsg.$txTime; echo 'Hello ' . htmlspecialchars($_POST["orderId"]) . '!'; echo $data;
based on QQpEq
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
Hello 9879879879_afadak31!9879879879_afadak31190.016242SUCCESSNET_BANKINGOK2018-02-16 01:30:36