3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array(1, 10, 0.5); $arr2 = array(50, 20, 40); array_sort($arr2); var_dump(array_shift($arr2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ErrnO
function name:  (null)
number of ops:  12
compiled vars:  !0 = $arr1, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL_BY_NAME                                       'array_sort'
          3        SEND_VAR_EX                                              !1
          4        DO_FCALL                                      0          
    8     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'array_shift'
          7        SEND_REF                                                 !1
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.12 ms | 1385 KiB | 17 Q