3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Gtt\Dashboard; class Dashboard {} namespace Gtt\Another; use Gtt\Dashboard\Dashboard as DashboardObject; $d = new \Gtt\Dashboard\Dashboard; var_dump($d instanceof DashboardObject);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jf4WMS
function name:  (null)
number of ops:  8
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $1      'Gtt%5CDashboard%5CDashboard'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   13     3        INIT_NS_FCALL_BY_NAME                                    'Gtt%5CAnother%5Cvar_dump'
          4        INSTANCEOF                                       ~4      !0, 'Gtt%5CDashboard%5CDashboard'
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class Gtt\Dashboard\Dashboard: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.78 ms | 1394 KiB | 15 Q