3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = string(0,1,2,3,4,4); echo $string(1); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/20feU
function name:  (null)
number of ops:  14
compiled vars:  !0 = $s, !1 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'string'
          1        SEND_VAL_EX                                              0
          2        SEND_VAL_EX                                              1
          3        SEND_VAL_EX                                              2
          4        SEND_VAL_EX                                              3
          5        SEND_VAL_EX                                              4
          6        SEND_VAL_EX                                              4
          7        DO_FCALL                                      0  $2      
          8        ASSIGN                                                   !0, $2
    3     9        INIT_DYNAMIC_CALL                                        !1
         10        SEND_VAL_EX                                              1
         11        DO_FCALL                                      0  $4      
         12        ECHO                                                     $4
    4    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.15 ms | 1393 KiB | 13 Q