3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.69 ms | 1385 KiB | 17 Q