3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arra2 = ''; Switch($arra2) { case 1; $smt = $con->prepare("SELECT * FROM tuser WHERE :NOMBR1 LIKE :ARR1"); break; case 2; $smt = $con->prepare("SELECT * FROM tuser WHERE :NOMBR2 LIKE :ARR1"); break; case 3; $smt = $con->prepare("SELECT * FROM tuser WHERE :NOMBR3 LIKE :ARR1"); break; case 4; $smt = $con->prepare("SELECT * FROM tuser WHERE :NOMBR4 LIKE :ARR1"); break; default: "Must select one of the Categorys"; }
Output for 4.3.0 - 7.2.0