3v4l.org

run code in 300+ PHP versions simultaneously
<?php $runs = 10; while($runs--){ if(mt_rand(-2147483648, mt_getrandmax()) == 0){ echo "Yes"; }else{ echo "No"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
Branch analysis from position: 2
filename:       /in/X2soh
function name:  (null)
number of ops:  16
compiled vars:  !0 = $runs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
    3     1      > JMP                                                      ->13
    4     2    >   INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 -2147483648
          4        INIT_FCALL                                               'mt_getrandmax'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        IS_EQUAL                                                 $3, 0
          9      > JMPZ                                                     ~4, ->12
    5    10    >   ECHO                                                     'Yes'
         11      > JMP                                                      ->13
    7    12    >   ECHO                                                     'No'
    3    13    >   POST_DEC                                         ~5      !0
         14      > JMPNZ                                                    ~5, ->2
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.3 ms | 1399 KiB | 17 Q