3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rands = []; for ($i = 0; $i < 16; $i++) { $rands[] = sprintf('0x%02X', mt_rand(0, 255)); } echo implode(", ", $rands);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/7Sqjf
function name:  (null)
number of ops:  22
compiled vars:  !0 = $rands, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->14
    4     3    >   INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '0x%2502X'
          5        INIT_FCALL                                               'mt_rand'
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 255
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                         $6      
         11        ASSIGN_DIM                                               !0
         12        OP_DATA                                                  $6
    3    13        PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 16
         15      > JMPNZ                                                    ~8, ->3
    6    16    >   INIT_FCALL                                               'implode'
         17        SEND_VAL                                                 '%2C+'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $9      
         20        ECHO                                                     $9
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.7 ms | 1461 KiB | 16 Q