3v4l.org

run code in 300+ PHP versions simultaneously
<?php $future_time = time()+strtotime('+ 2 days'); echo date('Y-m-d H:i:s', $future_time);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvUPg
function name:  (null)
number of ops:  13
compiled vars:  !0 = $future_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '%2B+2+days'
          4        DO_ICALL                                         $2      
          5        ADD                                              ~3      $1, $2
          6        ASSIGN                                                   !0, ~3
    5     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.04 ms | 1398 KiB | 19 Q