3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = strtotime("20160223Tiempo235958"); $date1 = $date + 4*3600; $time1 = date('Ymd\THis', $date1); echo $time1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ja53O
function name:  (null)
number of ops:  13
compiled vars:  !0 = $date, !1 = $date1, !2 = $time1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '20160223Tiempo235958'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ADD                                              ~5      !0, 14400
          5        ASSIGN                                                   !1, ~5
    4     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Ymd%5CTHis'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    6    11        ECHO                                                     !2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.71 ms | 1394 KiB | 17 Q