3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sent_date = strtotime('+3 days',"1381237450"); $now = time(); $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/tk3EZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $sent_date, !1 = $now, !2 = $datediff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '%2B3+days'
          2        SEND_VAL                                                 '1381237450'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    3     5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    4     8        SUB                                              ~7      !0, !1
          9        ASSIGN                                                   !2, ~7
    5    10        DIV                                              ~9      !2, 86400
         11        ECHO                                                     ~9
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1394 KiB | 17 Q