3v4l.org

run code in 300+ PHP versions simultaneously
<?php function dvach(): void { if (false === function_exists('sosach')) { function sosach(): void { if (false === function_exists('mailach')) { function mailach(): void { echo __FUNCTION__ . PHP_EOL; } } echo __FUNCTION__ . PHP_EOL; } } echo __FUNCTION__ . PHP_EOL; } dvach(); sosach(); mailach();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H9XQI
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   INIT_FCALL                                               'dvach'
          1        DO_FCALL                                      0          
   23     2        INIT_FCALL_BY_NAME                                       'sosach'
          3        DO_FCALL                                      0          
   24     4        INIT_FCALL_BY_NAME                                       'mailach'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function dvach:
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/H9XQI
function name:  dvach
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'sosach'
          2        DO_ICALL                                         $0      
          3        TYPE_CHECK                                    4          $0
          4      > JMPZ                                                     ~1, ->6
    6     5    >   DECLARE_FUNCTION                                         'sosach'
   19     6    >   ECHO                                                     'dvach%0A'
   20     7      > RETURN                                                   null


Dynamic Functions:
Dynamic Function 0
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/H9XQI
function name:  sosach
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'mailach'
          2        DO_ICALL                                         $0      
          3        TYPE_CHECK                                    4          $0
          4      > JMPZ                                                     ~1, ->6
    9     5    >   DECLARE_FUNCTION                                         'mailach'
   15     6    >   ECHO                                                     'sosach%0A'
   16     7      > 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/H9XQI
function name:  mailach
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ECHO                                                     'mailach%0A'
   12     1      > RETURN                                                   null

End of Dynamic Function 0

End of Dynamic Function 0

End of function dvach

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.74 ms | 1001 KiB | 15 Q