3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace AAA; class A { function __construct() { echo 'asas'; } } namespace BBB; use AAA; var_dump(AAA\A::class);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ba18j
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_NS_FCALL_BY_NAME                                    'BBB%5Cvar_dump'
          1        SEND_VAL_EX                                              'AAA%5CA'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class AAA\A:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ba18j
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'asas'
    7     1      > RETURN                                                   null

End of function __construct

End of class AAA\A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.67 ms | 1394 KiB | 15 Q