3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = string(0,1,2,3,4,4); echo int(string,1); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tu9L8
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s
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  $1      
          8        ASSIGN                                                   !0, $1
    3     9        INIT_FCALL_BY_NAME                                       'int'
         10        FETCH_CONSTANT                                   ~3      'string'
         11        SEND_VAL_EX                                              ~3
         12        SEND_VAL_EX                                              1
         13        DO_FCALL                                      0  $4      
         14        ECHO                                                     $4
    4    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1393 KiB | 13 Q