3v4l.org

run code in 300+ PHP versions simultaneously
<?php while (true) { $rand1 = rand(); $rand2 = rand(); if (bcmod($rand1, $rand2) != fmod($rand1, $rand2)) { echo $rand1." ".$rand2; break; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 1
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 21
filename:       /in/tYHeV
function name:  (null)
number of ops:  23
compiled vars:  !0 = $rand1, !1 = $rand2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->21
    4     1    >   INIT_FCALL                                               'rand'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'rand'
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    6     7        INIT_FCALL_BY_NAME                                       'bcmod'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAR_EX                                              !1
         10        DO_FCALL                                      0  $6      
         11        INIT_FCALL                                               'fmod'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $7      
         15        IS_NOT_EQUAL                                             $6, $7
         16      > JMPZ                                                     ~8, ->21
    7    17    >   CONCAT                                           ~9      !0, '+'
         18        CONCAT                                           ~10     ~9, !1
         19        ECHO                                                     ~10
    8    20      > JMP                                                      ->22
    3    21    > > JMPNZ                                                    <true>, ->1
   10    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.54 ms | 1395 KiB | 17 Q