3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([] ** []); var_dump([] ** (new ArrayObject())); var_dump((new ArrayObject()) ** []);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cR6fT
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        POW                                              ~0      <array>, <array>
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        NEW                                              $2      'ArrayObject'
          6        DO_FCALL                                      0          
          7        POW                                              ~4      <array>, $2
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'var_dump'
         11        NEW                                              $6      'ArrayObject'
         12        DO_FCALL                                      0          
         13        POW                                              ~8      $6, <array>
         14        SEND_VAL                                                 ~8
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.1 ms | 1394 KiB | 15 Q