3v4l.org

run code in 300+ PHP versions simultaneously
<?php $delta = 1/(1-rand(0, 99)/100); var_dump($delta);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MPCDg
function name:  (null)
number of ops:  12
compiled vars:  !0 = $delta
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 99
          3        DO_ICALL                                         $1      
          4        DIV                                              ~2      $1, 100
          5        SUB                                              ~3      1, ~2
          6        DIV                                              ~4      1, ~3
          7        ASSIGN                                                   !0, ~4
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.11 ms | 1394 KiB | 17 Q