3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Date = "2010-09-17"; echo date('Y-m-d', strtotime($Date. ' + 1 hour')); echo date('Y-m-d', strtotime($Date. ' + 2 days'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1d4CC
function name:  (null)
number of ops:  20
compiled vars:  !0 = $Date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2010-09-17'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d'
          3        INIT_FCALL                                               'strtotime'
          4        CONCAT                                           ~2      !0, '+%2B+1+hour'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
    4    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y-m-d'
         12        INIT_FCALL                                               'strtotime'
         13        CONCAT                                           ~5      !0, '+%2B+2+days'
         14        SEND_VAL                                                 ~5
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                         $7      
         18        ECHO                                                     $7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.7 ms | 1394 KiB | 17 Q