3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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"; }
Finding entry points
Branch analysis from position: 0
6 jumps found. (Code = 187) Position 1 = 10, Position 2 = 15, Position 3 = 20, Position 4 = 25, Position 5 = 30, Position 6 = 1
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
Branch analysis from position: 30
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 20
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 25
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
Branch analysis from position: 25
Branch analysis from position: 20
Branch analysis from position: 15
Branch analysis from position: 10
filename:       /in/iajPQ
function name:  (null)
number of ops:  31
compiled vars:  !0 = $arra2, !1 = $smt, !2 = $con
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > SWITCH_LONG                                              !0, [ 1:->10, 2:->15, 3:->20, 4:->25, ], ->30
    3     1    >   IS_EQUAL                                                 !0, 1
          2      > JMPNZ                                                    ~3, ->10
    6     3    >   IS_EQUAL                                                 !0, 2
          4      > JMPNZ                                                    ~3, ->15
    9     5    >   IS_EQUAL                                                 !0, 3
          6      > JMPNZ                                                    ~3, ->20
   12     7    >   IS_EQUAL                                                 !0, 4
          8      > JMPNZ                                                    ~3, ->25
          9    > > JMP                                                      ->30
    4    10    >   INIT_METHOD_CALL                                         !2, 'prepare'
         11        SEND_VAL_EX                                              'SELECT+%2A+FROM+tuser+WHERE+%3ANOMBR1+LIKE+%3AARR1'
         12        DO_FCALL                                      0  $4      
         13        ASSIGN                                                   !1, $4
    5    14      > JMP                                                      ->30
    7    15    >   INIT_METHOD_CALL                                         !2, 'prepare'
         16        SEND_VAL_EX                                              'SELECT+%2A+FROM+tuser+WHERE+%3ANOMBR2+LIKE+%3AARR1'
         17        DO_FCALL                                      0  $6      
         18        ASSIGN                                                   !1, $6
    8    19      > JMP                                                      ->30
   10    20    >   INIT_METHOD_CALL                                         !2, 'prepare'
         21        SEND_VAL_EX                                              'SELECT+%2A+FROM+tuser+WHERE+%3ANOMBR3+LIKE+%3AARR1'
         22        DO_FCALL                                      0  $8      
         23        ASSIGN                                                   !1, $8
   11    24      > JMP                                                      ->30
   13    25    >   INIT_METHOD_CALL                                         !2, 'prepare'
         26        SEND_VAL_EX                                              'SELECT+%2A+FROM+tuser+WHERE+%3ANOMBR4+LIKE+%3AARR1'
         27        DO_FCALL                                      0  $10     
         28        ASSIGN                                                   !1, $10
   14    29      > JMP                                                      ->30
   16    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.2 ms | 1390 KiB | 13 Q