3v4l.org

run code in 500+ 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:  19
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    >   FRAMELESS_ICALL_2                implode             ~9      '%2C+', !0
         17        ECHO                                                         ~9
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.43 ms | 2434 KiB | 15 Q