3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = []; $words = ['foo', 'bar', 'baz', 'fubar', 'fubaz']; while (300 > count($txt)) { $txt[] = $words[array_rand($words)]; } echo implode(' ', $txt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/11XoY
function name:  (null)
number of ops:  18
compiled vars:  !0 = $txt, !1 = $words
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2      > JMP                                                      ->9
    7     3    >   INIT_FCALL                                               'array_rand'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        FETCH_DIM_R                                      ~6      !1, $5
          7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  ~6
    6     9    >   COUNT                                            ~7      !0
         10        IS_SMALLER                                               ~7, 300
         11      > JMPNZ                                                    ~8, ->3
   10    12    >   INIT_FCALL                                               'implode'
         13        SEND_VAL                                                 '+'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $9      
         16        ECHO                                                     $9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.56 ms | 1395 KiB | 17 Q