3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.11 ms | 1394 KiB | 19 Q