3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 15; $s = 4; $x = 1; while ($x <= $t) { $s.= rand(1,9); }
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 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/PkIoU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $t, !1 = $s, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 15
    3     1        ASSIGN                                                   !1, 4
    4     2        ASSIGN                                                   !2, 1
    5     3      > JMP                                                      ->9
    6     4    >   INIT_FCALL                                               'rand'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 9
          7        DO_ICALL                                         $6      
          8        ASSIGN_OP                                     8          !1, $6
    5     9    >   IS_SMALLER_OR_EQUAL                                      !2, !0
         10      > JMPNZ                                                    ~8, ->4
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.99 ms | 1394 KiB | 15 Q