3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = 'SELECT * FROM table WHERE ID IN ('; $sql .= str_repeat('?, ', 1000); $sql = rtrim($sql, ', '); $sql .= ');';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EdGA9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'SELECT+%2A+FROM+table+WHERE+ID+IN+%28'
    4     1        INIT_FCALL                                               'str_repeat'
          2        SEND_VAL                                                 '%3F%2C+'
          3        SEND_VAL                                                 1000
          4        DO_ICALL                                         $2      
          5        ASSIGN_OP                                     8          !0, $2
    5     6        INIT_FCALL                                               'rtrim'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 '%2C+'
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    6    11        ASSIGN_OP                                     8          !0, '%29%3B'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.13 ms | 1394 KiB | 17 Q