3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = 2340; $bal = $p * pow(M_E, (0.031 * (3) )); print $bal."\r\n".round($bal, 2)."\r\n".round($bal, 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pHNlC
function name:  (null)
number of ops:  21
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        CONCAT                                           ~6      !1, '%0D%0A'
          8        INIT_FCALL                                               'round'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 2
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      ~6, $7
         13        CONCAT                                           ~9      ~8, '%0D%0A'
         14        INIT_FCALL                                               'round'
         15        SEND_VAR                                                 !1
         16        SEND_VAL                                                 1
         17        DO_ICALL                                         $10     
         18        CONCAT                                           ~11     ~9, $10
         19        ECHO                                                     ~11
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.64 ms | 1395 KiB | 17 Q