3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.45 ms | 1398 KiB | 15 Q