3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.22 ms | 1399 KiB | 17 Q