3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request['shipment'] = [1,2]; echo ' AND shipment IN ('.implode(',', $request['shipment']).')';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FinCR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $request
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'shipment'
          1        OP_DATA                                                  <array>
    3     2        INIT_FCALL                                               'implode'
          3        SEND_VAL                                                 '%2C'
          4        FETCH_DIM_R                                      ~2      !0, 'shipment'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      '+AND+shipment+IN+%28', $3
          8        CONCAT                                           ~5      ~4, '%29'
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.05 ms | 1009 KiB | 14 Q