3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.6 ms | 1394 KiB | 15 Q