3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 1431045244; $la = $time - 1914400; $quotient = 1; $diff = $time - $la; $diff -= 1814400; //3 weeks if($diff >= 0){ $quotient -= 0.1; $quotient -= 0.05 * ($diff / 604800); } var_dump($quotient);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/tQ8lc
function name:  (null)
number of ops:  17
compiled vars:  !0 = $time, !1 = $la, !2 = $quotient, !3 = $diff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1431045244
    3     1        SUB                                              ~5      !0, 1914400
          2        ASSIGN                                                   !1, ~5
    4     3        ASSIGN                                                   !2, 1
    5     4        SUB                                              ~8      !0, !1
          5        ASSIGN                                                   !3, ~8
    6     6        ASSIGN_OP                                     2          !3, 1814400
    7     7        IS_SMALLER_OR_EQUAL                                      0, !3
          8      > JMPZ                                                     ~11, ->13
    8     9    >   ASSIGN_OP                                     2          !2, 0.1
    9    10        DIV                                              ~13     !3, 604800
         11        MUL                                              ~14     ~13, 0.05
         12        ASSIGN_OP                                     2          !2, ~14
   11    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
280.91 ms | 1394 KiB | 16 Q