3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Imponibile = 727.88; $Aliquota = "22.00"; $Imposte = (($Imponibile * $Aliquota) / 100); if (empty($Imposte)) { $Imposte = 0; } $Totale = ($Imponibile + $Imposte); if (empty($Totale)) { $Totale = 0; } echo $Totale.'\n'; echo $Imposte;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 8
filename:       /in/qEsXk
function name:  (null)
number of ops:  17
compiled vars:  !0 = $Imponibile, !1 = $Aliquota, !2 = $Imposte, !3 = $Totale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 727.88
    5     1        ASSIGN                                                   !1, '22.00'
    7     2        MUL                                              ~6      !0, !1
          3        DIV                                              ~7      ~6, 100
          4        ASSIGN                                                   !2, ~7
    8     5        ISSET_ISEMPTY_CV                                         !2
          6      > JMPZ                                                     ~9, ->8
    9     7    >   ASSIGN                                                   !2, 0
   11     8    >   ADD                                              ~11     !0, !2
          9        ASSIGN                                                   !3, ~11
   12    10        ISSET_ISEMPTY_CV                                         !3
         11      > JMPZ                                                     ~13, ->13
   13    12    >   ASSIGN                                                   !3, 0
   16    13    >   CONCAT                                           ~15     !3, '%5Cn'
         14        ECHO                                                     ~15
   17    15        ECHO                                                     !2
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.77 ms | 1393 KiB | 13 Q