3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wl = array( 'word2' => 'link2.com', 'word3' => 'link3.com', 'word4' => 'link4.com', 'word5' => 'link5.com' ); shuffle($wl); $newarr = array_keys($wl); print_r($newarr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ggp52
function name:  (null)
number of ops:  12
compiled vars:  !0 = $wl, !1 = $newarr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'shuffle'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   10     4        INIT_FCALL                                               'array_keys'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
   11     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.1 ms | 1385 KiB | 19 Q