3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Bob\Cats\Dog { class Dog {} echo basename(Dog::class); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CM2QL
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_NS_FCALL_BY_NAME                                    'Bob%5CCats%5CDog%5Cbasename'
          1        SEND_VAL_EX                                              'Bob%5CCats%5CDog%5CDog'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
    8     4      > RETURN                                                   1

Class Bob\Cats\Dog\Dog: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.36 ms | 1385 KiB | 15 Q