3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "SELECT customer, kdaccount, expDateMonth, expDateYear, nameid FROM creditcard_main WHERE ((expDateYear = '2016' AND expDateMonth <= '01') OR (expDateYear >= '2015' AND expDateMonth >= '07')) AND cardStatus = '1' AND cardAuthorized = '1' ORDER BY kdaccount ASC LIMIT 0, 25"; $query = filter_var ($sql, FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES); var_dump($query);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KbRre
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sql, !1 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'SELECT+customer%2C+kdaccount%2C+expDateMonth%2C+expDateYear%2C+nameid+FROM+creditcard_main+WHERE+%28%28expDateYear+%3D+%272016%27+AND+expDateMonth+%3C%3D+%2701%27%29+OR+%28expDateYear+%3E%3D+%272015%27+AND+expDateMonth+%3E%3D+%2707%27%29%29+AND+cardStatus+%3D+%271%27+AND+cardAuthorized+%3D+%271%27+ORDER+BY+kdaccount+ASC+LIMIT+0%2C+25'
    5     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        FETCH_CONSTANT                                   ~3      'FILTER_SANITIZE_STRING'
          4        SEND_VAL                                                 ~3
    6     5        SEND_VAL                                                 128
    5     6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.34 ms | 999 KiB | 15 Q