3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.43 ms | 1394 KiB | 15 Q