3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Kernel\Application\Internal; use Kernel\Application\Shell\Runnable as ShellRunnable; class Runner { protected $shell; public function __construct(ShellRunnable $runable) { $this->shell = $runnable; } } $l = new Kernel\Application\Shell\Runnable(); $a = new Runner($l); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DGu5N
function name:  (null)
number of ops:  11
compiled vars:  !0 = $l, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $2      'Kernel%5CApplication%5CInternal%5CKernel%5CApplication%5CShell%5CRunnable'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   14     3        NEW                                              $5      'Kernel%5CApplication%5CInternal%5CRunner'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $5
   15     7        INIT_NS_FCALL_BY_NAME                                    'Kernel%5CApplication%5CInternal%5Cvar_dump'
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Class Kernel\Application\Internal\Runner:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DGu5N
function name:  __construct
number of ops:  4
compiled vars:  !0 = $runable, !1 = $runnable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
   10     1        ASSIGN_OBJ                                               'shell'
          2        OP_DATA                                                  !1
   11     3      > RETURN                                                   null

End of function __construct

End of class Kernel\Application\Internal\Runner.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.35 ms | 1386 KiB | 15 Q