3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1select = "teamvalue"; $sql1 = mysql1_query("SELECT * FROM `allsquads` WHERE `Team` = '$t1select' AND `Position` = '$position[$i]' OR `Secondary` = '$position[$i]'") or die(mysql_error()); echo sql1;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KohZT
function name:  (null)
number of ops:  22
compiled vars:  !0 = $t1select, !1 = $sql1, !2 = $position, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'teamvalue'
    5     1        INIT_FCALL_BY_NAME                                       'mysql1_query'
          2        ROPE_INIT                                     7  ~8      'SELECT+%2A+FROM+%60allsquads%60+WHERE+%60Team%60+%3D+%27'
          3        ROPE_ADD                                      1  ~8      ~8, !0
          4        ROPE_ADD                                      2  ~8      ~8, '%27+%0A++++++++++++++++++++AND+%60Position%60+%3D+%27'
    6     5        FETCH_DIM_R                                      ~5      !2, !3
          6        ROPE_ADD                                      3  ~8      ~8, ~5
          7        ROPE_ADD                                      4  ~8      ~8, '%27+%0A++++++++++++++++++++OR+%60Secondary%60+%3D+%27'
    7     8        FETCH_DIM_R                                      ~6      !2, !3
          9        ROPE_ADD                                      5  ~8      ~8, ~6
         10        ROPE_END                                      6  ~7      ~8, '%27'
         11        SEND_VAL_EX                                              ~7
         12        DO_FCALL                                      0  $12     
    5    13        ASSIGN                                           ~13     !1, $12
         14      > JMPNZ_EX                                         ~13     ~13, ->19
    7    15    >   INIT_FCALL_BY_NAME                                       'mysql_error'
         16        DO_FCALL                                      0  $14     
         17      > EXIT                                                     $14
         18*       BOOL                                             ~13     <true>
    9    19    >   FETCH_CONSTANT                                   ~15     'sql1'
         20        ECHO                                                     ~15
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.91 ms | 1394 KiB | 13 Q