3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.41 ms | 1394 KiB | 17 Q