3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.04 ms | 1398 KiB | 15 Q