3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { abstract public function __construct(); } class FooTest { public function setUp() { $this->object = 'xx'; } public function testNothing() { $this->object = 'y'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fv3WJ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   1

Class Foo:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fv3WJ
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

End of class Foo.

Class FooTest:
Function setup:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fv3WJ
function name:  setUp
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN_OBJ                                               'object'
          1        OP_DATA                                                  'xx'
   12     2      > RETURN                                                   null

End of function setup

Function testnothing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fv3WJ
function name:  testNothing
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN_OBJ                                               'object'
          1        OP_DATA                                                  'y'
   17     2      > RETURN                                                   null

End of function testnothing

End of class FooTest.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.61 ms | 1393 KiB | 13 Q