3v4l.org

run code in 500+ PHP versions simultaneously
<?php $names=['a','b','c']; echo 'SELECT name, is_active FROM networks WHERE name IN ('.implode("','",$names).')';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1PTOB
function name:  (null)
number of ops:  6
compiled vars:  !0 = $names
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        FRAMELESS_ICALL_2                implode             ~2      '%27%2C%27', !0
          2        CONCAT                                               ~3      'SELECT+name%2C+is_active+FROM+networks+WHERE+name+IN+%28', ~2
          3        CONCAT                                               ~4      ~3, '%29'
          4        ECHO                                                         ~4
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.79 ms | 1858 KiB | 13 Q