3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = 'a'; for ($x=0; $x++; $x <16) $salt = strval(rand(0,9)); echo strval(rand(0,9));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/JRam7
function name:  (null)
number of ops:  20
compiled vars:  !0 = $salt, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->11
    4     3    >   INIT_FCALL                                               'rand'
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 9
          6        DO_ICALL                                         $4      
          7        CAST                                          6  ~5      $4
          8        ASSIGN                                                   !0, ~5
    3     9        IS_SMALLER                                       ~7      !1, 16
         10        FREE                                                     ~7
         11    >   POST_INC                                         ~8      !1
         12      > JMPNZ                                                    ~8, ->3
    6    13    >   INIT_FCALL                                               'rand'
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 9
         16        DO_ICALL                                         $9      
         17        CAST                                          6  ~10     $9
         18        ECHO                                                     ~10
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.09 ms | 1395 KiB | 15 Q