3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = [new stdClass, new stdClass]; print_r(array_unique($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lJsCp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'stdClass'
          1        DO_FCALL                                          0          
          2        INIT_ARRAY                                           ~3      $1
          3        NEW                                                  $4      'stdClass'
          4        DO_FCALL                                          0          
          5        ADD_ARRAY_ELEMENT                                    ~3      $4
          6        ASSIGN                                                       !0, ~3
    5     7        INIT_FCALL                                                   'print_r'
          8        INIT_FCALL                                                   'array_unique'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                             $7      
         11        SEND_VAR                                                     $7
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.56 ms | 1904 KiB | 15 Q