3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'id_rating_review' => 'foo', ); $first = array_shift($data); var_dump($first); var_dump(isset( $first['id_rating_review'] ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mk3kU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $data, !1 = $first
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_shift'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
    8     9        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !1, 'id_rating_review'
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                                 
    9    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.66 ms | 1394 KiB | 17 Q