3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fields = range(50,150); $g = implode(',', array_pad(array(), count($fields), '?')) . ')'; echo $g;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hdU2N
function name:  (null)
number of ops:  19
compiled vars:  !0 = $fields, !1 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 50
          2        SEND_VAL                                                 150
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '%2C'
          7        INIT_FCALL                                               'array_pad'
          8        SEND_VAL                                                 <array>
          9        COUNT                                            ~4      !0
         10        SEND_VAL                                                 ~4
         11        SEND_VAL                                                 '%3F'
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                         $6      
         15        CONCAT                                           ~7      $6, '%29'
         16        ASSIGN                                                   !1, ~7
    5    17        ECHO                                                     !1
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.31 ms | 1394 KiB | 19 Q