3v4l.org

run code in 300+ PHP versions simultaneously
<?php die('success!'); class alpha { function bravo() {} } function charlie() { return new alpha; } charlie()->bravo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/hIRkH
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E > > EXIT                                                     'success%21'
    9     1*       INIT_FCALL                                               'charlie'
          2*       DO_FCALL                                      0  $0      
          3*       INIT_METHOD_CALL                                         $0, 'bravo'
          4*       DO_FCALL                                      0          
          5*     > RETURN                                                   1

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

End of function charlie

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

End of function bravo

End of class alpha.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.81 ms | 1397 KiB | 14 Q