3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.81 ms | 1394 KiB | 17 Q