3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'b'; $b = 'c'; $c = 'f1'; function f1() {return 'f2';} function f2() {echo 'Hello World!';} $$$a(...)()(...)();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t7Jo9
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'b'
    3     1        ASSIGN                                                   !1, 'c'
    4     2        ASSIGN                                                   !2, 'f1'
    9     3        FETCH_R                      local               ~6      !0
          4        FETCH_R                      local               ~7      ~6
          5        INIT_DYNAMIC_CALL                                        ~7
          6        ZEND_CALLABLE_CONVERT                            ~8      
          7        INIT_DYNAMIC_CALL                                        ~8
          8        DO_FCALL                                      0  $9      
          9        INIT_DYNAMIC_CALL                                        $9
         10        ZEND_CALLABLE_CONVERT                            ~10     
         11        INIT_DYNAMIC_CALL                                        ~10
         12        DO_FCALL                                      0          
         13      > RETURN                                                   1

Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t7Jo9
function name:  f1
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   'f2'
          1*     > RETURN                                                   null

End of function f1

Function f2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t7Jo9
function name:  f2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Hello+World%21'
          1      > RETURN                                                   null

End of function f2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
124.17 ms | 995 KiB | 13 Q