3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(1){ if(rand(0,10)==7)break; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 1
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 8
filename:       /in/7Eqmf
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->8
    4     1    >   INIT_FCALL                                               'rand'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 10
          4        DO_ICALL                                         $0      
          5        IS_EQUAL                                                 $0, 7
          6      > JMPZ                                                     ~1, ->8
          7    > > JMP                                                      ->9
    3     8    > > JMPNZ                                                    1, ->1
    5     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.54 ms | 1394 KiB | 15 Q