3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.11 ms | 1393 KiB | 17 Q