3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.29 ms | 1394 KiB | 17 Q