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(' + 2 min')); echo "\n\r"; echo date('Y-m-d H:i:s', strtotime(' + 2 days'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uKfgG
function name:  (null)
number of ops:  19
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+2+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                                                 '+%2B+2+days'
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                         $5      
         17        ECHO                                                     $5
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.64 ms | 1394 KiB | 17 Q