3v4l.org

run code in 300+ PHP versions simultaneously
<?php $endDate = strtotime(date('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/a74EX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $endDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 '2015-03-30+11%3A59%3A59'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        MOD                                              ~4      !0, 1800
          8        ASSIGN                                                   !0, ~4
    6     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.51 ms | 1394 KiB | 17 Q