3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.41 ms | 1385 KiB | 17 Q