3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.2 ms | 1394 KiB | 15 Q