3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code_name_array = array("Vichy negazuotas 0,5 l", "Vichy gazuotas 0,5 l", "Vichy gazuotas 0,5 l"); $code_name_array_random = rand(0, count($code_name_array)); echo $code_name_array[$code_name_array_random]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RIVrZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $code_name_array, !1 = $code_name_array_random
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'rand'
          2        SEND_VAL                                                 0
          3        COUNT                                            ~3      !0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    5     7        FETCH_DIM_R                                      ~6      !0, !1
          8        ECHO                                                     ~6
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.63 ms | 1394 KiB | 15 Q