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")); var_dump($array); list($a,$a) = $array;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FLv8W
function name:  (null)
number of ops:  14
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        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    6     7        QM_ASSIGN                                        ~5      !0
          8        FETCH_LIST_R                                     $6      ~5, 0
          9        ASSIGN                                                   !1, $6
         10        FETCH_LIST_R                                     $8      ~5, 1
         11        ASSIGN                                                   !1, $8
         12        FREE                                                     ~5
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.47 ms | 1394 KiB | 17 Q