3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['CandidateID'] =987797631; $query = " SELECT w.WorkEligibilityInfoID,w.ApplicantID,e.ReverifyExpDate,e.ReverifyExpDate FROM CandidateApplicant As ca"; $query .= " JOIN WorkEligibilityInfo w"; $query .= " JOIN EmploymentEligibilityI9 e"; $query .= " ON ca.ApplicantID = w.ApplicantID"; $query .= " WHERE ca.CandidateID = " . $_POST['CandidateID']; $query .= " AND w.EmploymentEligibilityI9ID = e.EmploymentEligibilityI9ID"; $query .= " AND e.ReverifyExpDate is NOT NULL"; $query .= " AND e.ReverifyDocType > 0"; print_r($query);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JATYN
function name:  (null)
number of ops:  18
compiled vars:  !0 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN_DIM                                               $1, 'CandidateID'
          2        OP_DATA                                                  987797631
    4     3        ASSIGN                                                   !0, '+SELECT+w.WorkEligibilityInfoID%2Cw.ApplicantID%2Ce.ReverifyExpDate%2Ce.ReverifyExpDate+FROM+CandidateApplicant+As+ca'
    5     4        ASSIGN_OP                                     8          !0, '+JOIN+WorkEligibilityInfo+w'
    6     5        ASSIGN_OP                                     8          !0, '+JOIN+EmploymentEligibilityI9+e'
    7     6        ASSIGN_OP                                     8          !0, '+ON+ca.ApplicantID+%3D+w.ApplicantID'
    8     7        FETCH_R                      global              ~7      '_POST'
          8        FETCH_DIM_R                                      ~8      ~7, 'CandidateID'
          9        CONCAT                                           ~9      '+WHERE+ca.CandidateID+%3D+', ~8
         10        ASSIGN_OP                                     8          !0, ~9
    9    11        ASSIGN_OP                                     8          !0, '+AND+w.EmploymentEligibilityI9ID+%3D+e.EmploymentEligibilityI9ID'
   10    12        ASSIGN_OP                                     8          !0, '+AND+e.ReverifyExpDate+is+NOT+NULL'
   11    13        ASSIGN_OP                                     8          !0, '+AND+e.ReverifyDocType+%3E+0'
   12    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.79 ms | 1395 KiB | 15 Q