3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Tr{ function __construct(){ } } function Tr(){ var_dump(func_get_args()); } function P(){ return "<p>"; } Tr(Tr(P()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ea6tX
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'tr'
          1        INIT_FCALL                                               'tr'
          2        INIT_FCALL                                               'p'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_FCALL                                      0  $1      
          6        SEND_VAR                                                 $1
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

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

End of function tr

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

End of function p

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

End of function __construct

End of class Tr.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.84 ms | 1402 KiB | 18 Q