3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 'id' => 1, 'channel_id' => 1, 'field_group' => 1, 'url_title' => 'the_very_first_entry', 'title' => 'The Very First Entry', 'fields' => array ( 0 => array ( 'label' => 'Enter Item Name:', 'type' => 'text', 'channel_data_id' => 1, 'value' => 'Item one', 'field_id' => 1 ), 1 => array ( 'label' => 'Enter Item Description', 'type' => 'textarea', 'channel_data_id' => 2, 'value' => 'Some long text blah blah', 'field_id' => 2 ) ) ); $field = array_pop($array); var_dump($field, $array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QPZ5J
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array, !1 = $field
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   30     1        INIT_FCALL                                               'array_pop'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   31     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.23 ms | 1009 KiB | 15 Q