3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Date = "2010-09-17 12:30:00"; echo date('Y-m-d H:i:s', strtotime(' + 1 day 1 hour 1 min')); echo "\n\r"; echo date('Y-m-d H:i:s', strtotime(' next tue 23:59:59')); echo "\n\r"; echo date("Y/m/d H.i.s", strtotime(date('Y-m-d H:i:s', strtotime(' next tue 23:59:59'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hqCoZ
function name:  (null)
number of ops:  35
compiled vars:  !0 = $Date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2010-09-17+12%3A30%3A00'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '+%2B+1+day+1+hour+1+min'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    4     9        ECHO                                                     '%0A%0D'
    5    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 '+next+tue+23%3A59%3A59'
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                         $5      
         17        ECHO                                                     $5
    6    18        ECHO                                                     '%0A%0D'
    7    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y%2Fm%2Fd+H.i.s'
         21        INIT_FCALL                                               'strtotime'
         22        INIT_FCALL                                               'date'
         23        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         24        INIT_FCALL                                               'strtotime'
         25        SEND_VAL                                                 '+next+tue+23%3A59%3A59'
         26        DO_ICALL                                         $6      
         27        SEND_VAR                                                 $6
         28        DO_ICALL                                         $7      
         29        SEND_VAR                                                 $7
         30        DO_ICALL                                         $8      
         31        SEND_VAR                                                 $8
         32        DO_ICALL                                         $9      
         33        ECHO                                                     $9
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.68 ms | 1396 KiB | 17 Q