3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace App\Domain\Messenger { class Message {} } namespace { $messengerMessage = new App\Domain\Messenger\Message; var_dump($messengerMessage::class); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6vgi9
function name:  (null)
number of ops:  8
compiled vars:  !0 = $messengerMessage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'App%5CDomain%5CMessenger%5CMessage'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        INIT_FCALL                                               'var_dump'
          4        FETCH_CLASS_NAME                                 ~4      !0
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
   11     7      > RETURN                                                   1

Class App\Domain\Messenger\Message: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.32 ms | 1449 KiB | 14 Q