3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_time = time(); $future_time = $current_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/n8jlZ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $current_time, !1 = $future_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '%2B+2+days'
          5        DO_ICALL                                         $4      
          6        ADD                                              ~5      !0, $4
          7        ASSIGN                                                   !1, ~5
    6     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.12 ms | 1394 KiB | 19 Q