3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = 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/g4Cmc
function name:  (null)
number of ops:  19
compiled vars:  !0 = $d, !1 = $g, !2 = $fields
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      !2
         10        SEND_VAL                                                 ~5
         11        SEND_VAL                                                 '%3F'
         12        DO_ICALL                                         $6      
         13        CONCAT                                           ~7      $6, '%29'
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !1, $8
    5    17        ECHO                                                     !0
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.87 ms | 1394 KiB | 19 Q