3v4l.org

run code in 300+ PHP versions simultaneously
<?php $TotalCountyTaxAmount = "$1614.21"; $days = '365'; $TCA = str_replace("$", "", $TotalCountyTaxAmount); //strip dollar sign echo ($days / $TCA) ."\n"; echo ($TCA / $days); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ARlAU
function name:  (null)
number of ops:  14
compiled vars:  !0 = $TotalCountyTaxAmount, !1 = $days, !2 = $TCA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%241614.21'
    3     1        ASSIGN                                                   !1, '365'
    4     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%24'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    5     8        DIV                                              ~7      !1, !2
          9        CONCAT                                           ~8      ~7, '%0A'
         10        ECHO                                                     ~8
    6    11        DIV                                              ~9      !2, !1
         12        ECHO                                                     ~9
    8    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.03 ms | 1012 KiB | 14 Q