3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $drst = strtotime('2013-10-31'); echo $drstRev = strtotime('-1 month', $drst); echo date('Y-m-d', $drstRev); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/304On
function name:  (null)
number of ops:  17
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'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                           ~3      !0, $2
          4        ECHO                                                     ~3
    4     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '-1+month'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                           ~5      !1, $4
         10        ECHO                                                     ~5
    6    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'Y-m-d'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $6      
         15        ECHO                                                     $6
    7    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.94 ms | 1394 KiB | 17 Q