3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sellerDiscount=56.595; $result['loan_amount']=539; $sellerDiscount = round($sellerDiscount,2); echo number_format($sellerDiscount, 2, ',', '')."\r\n"; echo number_format(($sellerDiscount / 1.21), 2, ',', '')."\r\n"; echo number_format(($sellerDiscount - ($sellerDiscount / 1.21)), 2, ',', '')."\r\n"; echo number_format($result['loan_amount'] - $sellerDiscount, 2, ',', '')."\r\n"; echo number_format((($result['loan_amount'] - $sellerDiscount) * 0.702804), 2, ',', '')."\r\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G9qUY
function name:  (null)
number of ops:  57
compiled vars:  !0 = $sellerDiscount, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 56.595
    3     1        ASSIGN_DIM                                               !1, 'loan_amount'
          2        OP_DATA                                                  539
    4     3        INIT_FCALL                                               'round'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    6     8        INIT_FCALL                                               'number_format'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 2
         11        SEND_VAL                                                 '%2C'
         12        SEND_VAL                                                 ''
         13        DO_ICALL                                         $6      
         14        CONCAT                                           ~7      $6, '%0D%0A'
         15        ECHO                                                     ~7
    7    16        INIT_FCALL                                               'number_format'
         17        DIV                                              ~8      !0, 1.21
         18        SEND_VAL                                                 ~8
         19        SEND_VAL                                                 2
         20        SEND_VAL                                                 '%2C'
         21        SEND_VAL                                                 ''
         22        DO_ICALL                                         $9      
         23        CONCAT                                           ~10     $9, '%0D%0A'
         24        ECHO                                                     ~10
    8    25        INIT_FCALL                                               'number_format'
         26        DIV                                              ~11     !0, 1.21
         27        SUB                                              ~12     !0, ~11
         28        SEND_VAL                                                 ~12
         29        SEND_VAL                                                 2
         30        SEND_VAL                                                 '%2C'
         31        SEND_VAL                                                 ''
         32        DO_ICALL                                         $13     
         33        CONCAT                                           ~14     $13, '%0D%0A'
         34        ECHO                                                     ~14
    9    35        INIT_FCALL                                               'number_format'
         36        FETCH_DIM_R                                      ~15     !1, 'loan_amount'
         37        SUB                                              ~16     ~15, !0
         38        SEND_VAL                                                 ~16
         39        SEND_VAL                                                 2
         40        SEND_VAL                                                 '%2C'
         41        SEND_VAL                                                 ''
         42        DO_ICALL                                         $17     
         43        CONCAT                                           ~18     $17, '%0D%0A'
         44        ECHO                                                     ~18
   10    45        INIT_FCALL                                               'number_format'
         46        FETCH_DIM_R                                      ~19     !1, 'loan_amount'
         47        SUB                                              ~20     ~19, !0
         48        MUL                                              ~21     ~20, 0.702804
         49        SEND_VAL                                                 ~21
         50        SEND_VAL                                                 2
         51        SEND_VAL                                                 '%2C'
         52        SEND_VAL                                                 ''
         53        DO_ICALL                                         $22     
         54        CONCAT                                           ~23     $22, '%0D%0A'
         55        ECHO                                                     ~23
         56      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.05 ms | 1400 KiB | 17 Q