3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode( '{"admin":{"author_id":1,"author_login":"admin","author_email":"info@8guild.com","author_display_name":"Penny","author_first_name":"","author_last_name":""}}', true ); $b = array_shift( $a ); var_dump( $b );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j5Y5o
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22admin%22%3A%7B%22author_id%22%3A1%2C%22author_login%22%3A%22admin%22%2C%22author_email%22%3A%22info%408guild.com%22%2C%22author_display_name%22%3A%22Penny%22%2C%22author_first_name%22%3A%22%22%2C%22author_last_name%22%3A%22%22%7D%7D'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'array_shift'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.3 ms | 1394 KiB | 19 Q