3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentCasePackRun = 0; if(isset($currentCasePackRun)) { $percentSales = round( (100 / 0) * 100 , 1); //TECHOPS-968 } else $percentSales = 0; echo "\tPercent Sales: ".$percentSales."% ";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C49rZ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $currentCasePackRun, !1 = $percentSales
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        ISSET_ISEMPTY_CV                                         !0
          2      > JMPZ                                                     ~3, ->11
    7     3    >   INIT_FCALL                                               'round'
          4        DIV                                              ~4      100, 0
          5        MUL                                              ~5      ~4, 100
          6        SEND_VAL                                                 ~5
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
         10      > JMP                                                      ->12
   11    11    >   ASSIGN                                                   !1, 0
   13    12    >   CONCAT                                           ~9      '%09Percent+Sales%3A+', !1
         13        CONCAT                                           ~10     ~9, '%25++'
         14        ECHO                                                     ~10
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.79 ms | 1394 KiB | 15 Q