3v4l.org

run code in 300+ PHP versions simultaneously
<?php function asdf() { var_dump(__FUNCTION__); function asd() { var_dump(__FUNCTION__); } } asdf(); asd(); asdf();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qVnmj
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'asdf'
          1        DO_FCALL                                      0          
          2        INIT_FCALL_BY_NAME                                       'asd'
          3        DO_FCALL                                      0          
          4        INIT_FCALL                                               'asdf'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function asdf:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qVnmj
function name:  asdf
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 'asdf'
          2        DO_ICALL                                                 
    6     3        DECLARE_FUNCTION                                         'asd'
    9     4      > RETURN                                                   null

End of function asdf

Function %00asd%2Fin%2FqVnmj%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qVnmj
function name:  asd
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 'asd'
          2        DO_ICALL                                                 
    8     3      > RETURN                                                   null

End of function %00asd%2Fin%2FqVnmj%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.65 ms | 1402 KiB | 17 Q