3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.18 ms | 1394 KiB | 17 Q