3v4l.org

run code in 300+ PHP versions simultaneously
<?php print date('Y-m-d', strtotime(date('Y-m-d h:i').' - 30 days')); print ' | '; print date('2013-10-04');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K4iCP
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'Y-m-d+h%3Ai'
          5        DO_ICALL                                         $0      
          6        CONCAT                                           ~1      $0, '+-+30+days'
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
    4    12        ECHO                                                     '++%7C++'
    5    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 '2013-10-04'
         15        DO_ICALL                                         $4      
         16        ECHO                                                     $4
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.15 ms | 1394 KiB | 17 Q