3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); $sent_date = strtotime('+3 days', $now); $datediff = $sent_date - $now; echo $datediff/(60*60*24);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s9ccc
function name:  (null)
number of ops:  13
compiled vars:  !0 = $now, !1 = $sent_date, !2 = $datediff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    3     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '%2B3+days'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        SUB                                              ~7      !1, !0
          9        ASSIGN                                                   !2, ~7
    6    10        DIV                                              ~9      !2, 86400
         11        ECHO                                                     ~9
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.53 ms | 1394 KiB | 17 Q