3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0