3v4l.org

run code in 300+ PHP versions simultaneously
<?php $order_info = [ "success" => 1, "return" => [ "100010973975966" => [ "pair" => "doge_btc" // etc.. ] ] ]; $order_id = key($order_info['return']); echo $order_id;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hHAbl
function name:  (null)
number of ops:  8
compiled vars:  !0 = $order_info, !1 = $order_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'key'
          2        FETCH_DIM_R                                      ~3      !0, 'return'
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   14     6        ECHO                                                     !1
   15     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.93 ms | 996 KiB | 14 Q