3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); echo "hello"; $sent_date = strtotime('+3 days', time()); $datediff = $sent_date - $now; echo $datediff;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oJrlb
function name:  (null)
number of ops:  15
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        ECHO                                                     'hello'
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '%2B3+days'
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
    6    11        SUB                                              ~8      !1, !0
         12        ASSIGN                                                   !2, ~8
    7    13        ECHO                                                     !2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.43 ms | 1394 KiB | 17 Q