3v4l.org

run code in 300+ PHP versions simultaneously
<?php $basePremium='Refer'; // update the end time of the discount period below when going live if (mktime() < 1453726799000 ) { // discount by 8.5% for the 2 months after going live, 1453726799000 = 25/01/2016 23:59:59 AEST $basePremium=round($basePremium * 0.915); } if ($basePremium == 'Refer') { echo "wtf"; } else { echo "..."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/1FvRl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $basePremium
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Refer'
    4     1        INIT_FCALL                                               'mktime'
          2        DO_ICALL                                         $2      
          3        IS_SMALLER                                               $2, 1453726799000
          4      > JMPZ                                                     ~3, ->10
    5     5    >   INIT_FCALL                                               'round'
          6        MUL                                              ~4      !0, 0.915
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !0, $5
    7    10    >   IS_EQUAL                                                 !0, 'Refer'
         11      > JMPZ                                                     ~7, ->14
    8    12    >   ECHO                                                     'wtf'
         13      > JMP                                                      ->15
   10    14    >   ECHO                                                     '...'
   12    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.23 ms | 1395 KiB | 17 Q