3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait One { } abstract class Top { use One; } class Test extends Top { } echo implode(', ', class_uses("Test"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/792ck
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'top'
   11     1        DECLARE_CLASS                                            'test', 'top'
   15     2        INIT_FCALL                                               'implode'
          3        SEND_VAL                                                 '%2C+'
          4        INIT_FCALL                                               'class_uses'
          5        SEND_VAL                                                 'Test'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10      > RETURN                                                   1

Class One: [no user functions]
Class Top: [no user functions]
Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.37 ms | 1394 KiB | 17 Q