3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Some\Name\Space; use stdClass; $x = new \stdClass; $x->name = "Foobar"; var_dump( get_class_methods( $x ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f6DiK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        ASSIGN_OBJ                                               !0, 'name'
          4        OP_DATA                                                  'Foobar'
    9     5        INIT_NS_FCALL_BY_NAME                                    'Some%5CName%5CSpace%5Cvar_dump'
          6        INIT_NS_FCALL_BY_NAME                                    'Some%5CName%5CSpace%5Cget_class_methods'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0  $5      
          9        SEND_VAR_NO_REF_EX                                       $5
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.96 ms | 1394 KiB | 17 Q