3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "140129"; $date = strtotime($date); $date = strtotime("+60 day", $date); echo date('ymd', $date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GcTAN
function name:  (null)
number of ops:  16
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '140129'
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '%2B60+day'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    6    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'ymd'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.93 ms | 1398 KiB | 17 Q