3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $end_date=date("Y-m-d",strtotime(date("Y-m-d H:i:s"))-60*60*24+1);;echo ">>>>>>"; echo date("Y-m-d H:i:s", strtotime($end_date)-500*60);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OjOrA
function name:  (null)
number of ops:  25
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'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        SUB                                              ~3      $2, 86400
          9        ADD                                              ~4      ~3, 1
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        ASSIGN                                           ~6      !0, $5
         13        ECHO                                                     ~6
         14        ECHO                                                     '%3E%3E%3E%3E%3E%3E'
    3    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $7      
         20        SUB                                              ~8      $7, 30000
         21        SEND_VAL                                                 ~8
         22        DO_ICALL                                         $9      
         23        ECHO                                                     $9
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.16 ms | 1395 KiB | 17 Q