3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } class_alias('Foo', 'FooAlias'); function hint_for_alias(FooAlias $foo) { } $foo = new Foo; $hint_for_alias($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oF0EB
function name:  (null)
number of ops:  11
compiled vars:  !0 = $foo, !1 = $hint_for_alias
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'class_alias'
          1        SEND_VAL                                                 'Foo'
          2        SEND_VAL                                                 'FooAlias'
          3        DO_ICALL                                                 
   14     4        NEW                                              $3      'Foo'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $3
   15     7        INIT_DYNAMIC_CALL                                        !1
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function hint_for_alias:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oF0EB
function name:  hint_for_alias
number of ops:  2
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   12     1      > RETURN                                                   null

End of function hint_for_alias

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.52 ms | 1394 KiB | 15 Q