3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request['typ'] = array(5,9); $request['typ'] = preg_grep('/^[0-9]+$/', $request['typ']); var_dump("vt.vttypid IN ('". implode("','", $request['typ']) ."')");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SCLsD
function name:  (null)
number of ops:  20
compiled vars:  !0 = $request
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'typ'
          1        OP_DATA                                                  <array>
    4     2        INIT_FCALL                                               'preg_grep'
          3        SEND_VAL                                                 '%2F%5E%5B0-9%5D%2B%24%2F'
          4        FETCH_DIM_R                                      ~3      !0, 'typ'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $4      
          7        ASSIGN_DIM                                               !0, 'typ'
          8        OP_DATA                                                  $4
    5     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'implode'
         11        SEND_VAL                                                 '%27%2C%27'
         12        FETCH_DIM_R                                      ~5      !0, 'typ'
         13        SEND_VAL                                                 ~5
         14        DO_ICALL                                         $6      
         15        CONCAT                                           ~7      'vt.vttypid+IN+%28%27', $6
         16        CONCAT                                           ~8      ~7, '%27%29'
         17        SEND_VAL                                                 ~8
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.92 ms | 1395 KiB | 19 Q