3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(new stdClass, new stdClass, new stdClass); end($a)->ui = 10;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CKVaS
function name:  (null)
number of ops:  17
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        NEW                                              $6      'stdClass'
          7        DO_FCALL                                      0          
          8        ADD_ARRAY_ELEMENT                                ~3      $6
          9        ASSIGN                                                   !0, ~3
    4    10        INIT_FCALL                                               'end'
         11        SEND_REF                                                 !0
         12        DO_ICALL                                         $9      
         13        SEPARATE                                         $9      $9
         14        ASSIGN_OBJ                                               $9, 'ui'
         15        OP_DATA                                                  10
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.66 ms | 1394 KiB | 15 Q