3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( '/sign/inter?fr=1&fb=1&ht=1&yh=1' => 0, '/sign/meet?fb=1&ht=1&yh=1' => 0, '/sign/blue?fb=1' => 0, '/sign/wall?fb=1' => 0, '/sign/wall?fr=1' => 0, '/sign/inter?fb=1&ht=1&yh=1' => 0, ); var_dump($arr); asort($arr); var_dump($arr); $key = array_shift(array_keys($arr)); var_dump($key);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tVU79
function name:  (null)
number of ops:  21
compiled vars:  !0 = $arr, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   11     4        INIT_FCALL                                               'asort'
          5        SEND_REF                                                 !0
          6        DO_ICALL                                                 
   12     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   13    10        INIT_FCALL                                               'array_shift'
         11        INIT_FCALL                                               'array_keys'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        SEND_VAR_NO_REF                               0          $6
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !1, $7
   14    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.62 ms | 1395 KiB | 21 Q