3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.75 ms | 997 KiB | 15 Q