3v4l.org

run code in 300+ PHP versions simultaneously
<?php $DexArray = array( array( 'url' => "http://i.imgur.com/ObXLdd6C.jpg", 'headline' => "Dronningens Nytårstale", 'subline' => "Tallene bag talen og årets spilforslag", 'href' => "nytaarstale.php", 'postedby' => "kris", 'postedurl' => "https://www.facebook.com/dataanalyticsdk", 'dato' => "21. december, 2014" ), array( 'url' => "http://i.imgur.com/sxddhOe.jpg", 'headline' => "Endless Jewelry", 'subline' => "Are there really endless possibilities?", 'href' => "endless.php", 'postedby' => "Nikolaj Thulstrup", 'postedurl' => "kris", 'dato' => "10. december, 2014" ) ); $k = array_rand($DexArray); $v = $DexArray[$k]['href']; echo "-> $v";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EnST9
function name:  (null)
number of ops:  12
compiled vars:  !0 = $DexArray, !1 = $k, !2 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   25     1        INIT_FCALL                                               'array_rand'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   26     5        FETCH_DIM_R                                      ~6      !0, !1
          6        FETCH_DIM_R                                      ~7      ~6, 'href'
          7        ASSIGN                                                   !2, ~7
   28     8        NOP                                                      
          9        FAST_CONCAT                                      ~9      '-%3E+', !2
         10        ECHO                                                     ~9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.59 ms | 1398 KiB | 15 Q