3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = 2340; $bal = $p * pow(M_E, (0.031 * (3) )); echo $p; echo round($bal, 2); echo round($bal, 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1lOeI
function name:  (null)
number of ops:  19
compiled vars:  !0 = $p, !1 = $bal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2340
    3     1        INIT_FCALL                                               'pow'
          2        SEND_VAL                                                 2.71828
          3        SEND_VAL                                                 0.093
          4        DO_ICALL                                         $3      
          5        MUL                                              ~4      !0, $3
          6        ASSIGN                                                   !1, ~4
    4     7        ECHO                                                     !0
    5     8        INIT_FCALL                                               'round'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 2
         11        DO_ICALL                                         $6      
         12        ECHO                                                     $6
    6    13        INIT_FCALL                                               'round'
         14        SEND_VAR                                                 !1
         15        SEND_VAL                                                 1
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.45 ms | 1386 KiB | 17 Q