3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.83 ms | 1385 KiB | 17 Q