3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
254.83 ms | 1394 KiB | 19 Q