3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gagne = 0; $perdu = 0; $hasard = rand(1,2); for ($i=0;$i<=15;$i++) { echo $hasard."<br>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 9
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 9
Branch analysis from position: 14
Branch analysis from position: 9
filename:       /in/lYpse
function name:  (null)
number of ops:  15
compiled vars:  !0 = $gagne, !1 = $perdu, !2 = $hasard, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 0
    4     2        INIT_FCALL                                               'rand'
          3        SEND_VAL                                                 1
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    5     7        ASSIGN                                                   !3, 0
          8      > JMP                                                      ->12
    7     9    >   CONCAT                                           ~9      !2, '%3Cbr%3E'
         10        ECHO                                                     ~9
    5    11        PRE_INC                                                  !3
         12    >   IS_SMALLER_OR_EQUAL                                      !3, 15
         13      > JMPNZ                                                    ~11, ->9
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.18 ms | 1394 KiB | 15 Q