3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=12257 $array = array_values(array("name"=>"Sheldon","age"=>"42")); list($a) = $array; // taking cue from phpwtf.org var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lBI64
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'array_values'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        QM_ASSIGN                                        ~4      !0
          5        FETCH_LIST_R                                     $5      ~4, 0
          6        ASSIGN                                                   !1, $5
          7        FREE                                                     ~4
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.57 ms | 1394 KiB | 17 Q