3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function testA() { } } $t = new Test(); var_dump($t->testA); die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/PDoPO
function name:  (null)
number of ops:  9
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   12     3        INIT_FCALL                                               'var_dump'
          4        FETCH_OBJ_R                                      ~4      !0, 'testA'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
   13     7      > EXIT                                                     
          8*     > RETURN                                                   1

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

End of function testa

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.82 ms | 1398 KiB | 15 Q