3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "s"; echo printf("%2$s", "a", "b", "c", "d", "f", "g", "h");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6gLK1
function name:  (null)
number of ops:  15
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 's'
    3     1        INIT_FCALL                                               'printf'
          2        NOP                                                      
          3        FAST_CONCAT                                      ~2      '%252', !0
          4        SEND_VAL                                                 ~2
          5        SEND_VAL                                                 'a'
          6        SEND_VAL                                                 'b'
          7        SEND_VAL                                                 'c'
          8        SEND_VAL                                                 'd'
          9        SEND_VAL                                                 'f'
         10        SEND_VAL                                                 'g'
         11        SEND_VAL                                                 'h'
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.51 ms | 1394 KiB | 15 Q