3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeType {} class SomeClass { public function someMethod(SomeType $type) { echo "Fooing."; } } $foo = new SomeClass(); $foo->someMethod();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PEMk3
function name:  (null)
number of ops:  6
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'SomeClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        INIT_METHOD_CALL                                         !0, 'someMethod'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class SomeType: [no user functions]
Class SomeClass:
Function somemethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PEMk3
function name:  someMethod
number of ops:  3
compiled vars:  !0 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1        ECHO                                                     'Fooing.'
   10     2      > RETURN                                                   null

End of function somemethod

End of class SomeClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.43 ms | 1393 KiB | 13 Q