3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rate1 = 0.02; $level1 = 1260; $product = $level1 * $rate1; echo number_format( $product, 2),"\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tQ7ph
function name:  (null)
number of ops:  11
compiled vars:  !0 = $rate1, !1 = $level1, !2 = $product
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.02
    4     1        ASSIGN                                                   !1, 1260
    6     2        MUL                                              ~5      !1, !0
          3        ASSIGN                                                   !2, ~5
    7     4        INIT_FCALL                                               'number_format'
          5        SEND_VAR                                                 !2
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $7      
          8        ECHO                                                     $7
          9        ECHO                                                     '%0A'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.63 ms | 1394 KiB | 15 Q