3v4l.org

run code in 300+ PHP versions simultaneously
<?php $run_time = '2016-10-27 10:00:00'; $entry_date = '2016-10-20 11:00:00'; $days_to_dial = 7*(1/24); if ( ((strtotime($run_time)-strtotime($entry_date))/3600) >= $days_to_dial*24 ) { echo strtotime($run_time).PHP_EOL; echo strtotime($entry_date).PHP_EOL; } else { echo 'false'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 25
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UhCr2
function name:  (null)
number of ops:  27
compiled vars:  !0 = $run_time, !1 = $entry_date, !2 = $days_to_dial
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2016-10-27+10%3A00%3A00'
    4     1        ASSIGN                                                   !1, '2016-10-20+11%3A00%3A00'
    5     2        ASSIGN                                                   !2, 0.291667
    7     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $7      
          9        SUB                                              ~8      $6, $7
         10        DIV                                              ~9      ~8, 3600
         11        MUL                                              ~10     !2, 24
         12        IS_SMALLER_OR_EQUAL                                      ~10, ~9
         13      > JMPZ                                                     ~11, ->25
    8    14    >   INIT_FCALL                                               'strtotime'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $12     
         17        CONCAT                                           ~13     $12, '%0A'
         18        ECHO                                                     ~13
    9    19        INIT_FCALL                                               'strtotime'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $14     
         22        CONCAT                                           ~15     $14, '%0A'
         23        ECHO                                                     ~15
         24      > JMP                                                      ->26
   12    25    >   ECHO                                                     'false'
   13    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.78 ms | 1395 KiB | 15 Q