3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vendorlist = array( "google" => array( "enabled" => 1, "code" => array( "lboard" => "CODE", "mrect" => "CODE", "rect" => "CODE", "wsky" => "CODE", ), ), "adbrite" => array( "enabled" => 1, "code" => array( "lboard" => "CODE", "mrect" => "CODE", "rect" => "CODE", "wsky" => "CODE", ), ), ); var_dump($vendorlist); echo count($vendorlist); echo "\n" . mt_rand(0, count($vendorlist) - 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/anEor
function name:  (null)
number of ops:  15
compiled vars:  !0 = $vendorlist
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   23     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   24     4        COUNT                                            ~3      !0
          5        ECHO                                                     ~3
   26     6        INIT_FCALL                                               'mt_rand'
          7        SEND_VAL                                                 0
          8        COUNT                                            ~4      !0
          9        SUB                                              ~5      ~4, 1
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      '%0A', $6
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146 ms | 1394 KiB | 17 Q