3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 15
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 15
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/184k3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > FE_RESET_R                                       $1      <array>, ->15
          1    > > FE_FETCH_R                                               $1, !0, ->15
    6     2    >   INIT_NS_FCALL_BY_NAME                                    'Foo%5Cstrlen'
          3        SEND_VAL_EX                                              'hello'
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
          6        ECHO                                                     '+'
    7     7        INIT_NS_FCALL_BY_NAME                                    'Foo%5Cshadow_strlen'
          8        DO_FCALL                                      0          
    8     9        INIT_NS_FCALL_BY_NAME                                    'Foo%5Cstrlen'
         10        SEND_VAL_EX                                              'hello'
         11        DO_FCALL                                      0  $4      
         12        ECHO                                                     $4
         13        ECHO                                                     '%3B+'
    5    14      > JMP                                                      ->1
         15    >   FE_FREE                                                  $1
   17    16      > RETURN                                                   1

Function foo%5Cshadow_strlen:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/184k3
function name:  Foo\shadow_strlen
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_NS_FCALL_BY_NAME                                    'Foo%5Cfunction_exists'
          1        SEND_VAL_EX                                              'Foo%5Cstrlen'
          2        DO_FCALL                                      0  $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->6
   13     5    >   DECLARE_FUNCTION                                         'foo%5Cstrlen'
   17     6    > > RETURN                                                   null


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/184k3
function name:  Foo\strlen
number of ops:  3
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1      > RETURN                                                   42
   15     2*     > RETURN                                                   null

End of Dynamic Function 0

End of function foo%5Cshadow_strlen

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.61 ms | 973 KiB | 16 Q