3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array_sample = array( 0 => array( 'ID' => 1, 'Email' => 'email1', ), 1 => array( 'ID' => 2, 'Email' => 'email2', ) ); var_dump(current($array_sample)); end(end($array_sample)); var_dump(current($array_sample));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s96tX
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array_sample
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   14     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'current'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $2      
          5        SEND_VAR                                                     $2
          6        DO_ICALL                                                     
   15     7        INIT_FCALL                                                   'end'
          8        INIT_FCALL                                                   'end'
          9        SEND_REF                                                     !0
         10        DO_ICALL                                             $4      
         11        SEND_VAR_NO_REF                                   0          $4
         12        DO_ICALL                                                     
   16    13        INIT_FCALL                                                   'var_dump'
         14        INIT_FCALL                                                   'current'
         15        SEND_VAR                                                     !0
         16        DO_ICALL                                             $6      
         17        SEND_VAR                                                     $6
         18        DO_ICALL                                                     
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.82 ms | 3396 KiB | 16 Q