3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class lol { private function __construct() {} private function asdf(){} } class rofl extends lol { public function __construct() { echo "hi"; } public function asdf(){ echo 'blah'; } } (new rofl())->asdf();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A4WqK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   NEW                                              $0      'rofl'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'asdf'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function __construct

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

End of function asdf

End of class lol.

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

End of function __construct

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

End of function asdf

End of class rofl.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.19 ms | 1385 KiB | 13 Q