3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.71 ms | 1394 KiB | 17 Q