3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rate1=0.02; $level1=1260; $formatted = number_format($rate1 * $level1,2); echo $formatted,"\n"; $reformatted = number_format($formatted,2); echo $reformatted;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uYoGj
function name:  (null)
number of ops:  17
compiled vars:  !0 = $rate1, !1 = $level1, !2 = $formatted, !3 = $reformatted
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                                              ~6      !0, !1
          4        SEND_VAL                                                 ~6
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    7     8        ECHO                                                     !2
          9        ECHO                                                     '%0A'
    8    10        INIT_FCALL                                               'number_format'
         11        SEND_VAR                                                 !2
         12        SEND_VAL                                                 2
         13        DO_ICALL                                         $9      
         14        ASSIGN                                                   !3, $9
    9    15        ECHO                                                     !3
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.79 ms | 1394 KiB | 15 Q