3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expire_at=new DateTime(); $expire_at->setTime($expire_at->format('G'), 0, 0); //echo $expire_at->getTimestamp(); echo $expire_at;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V45DG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $expire_at
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    3     3        INIT_METHOD_CALL                                         !0, 'setTime'
          4        INIT_METHOD_CALL                                         !0, 'format'
          5        SEND_VAL_EX                                              'G'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR_NO_REF_EX                                       $4
          8        SEND_VAL_EX                                              0
          9        SEND_VAL_EX                                              0
         10        DO_FCALL                                      0          
    5    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.31 ms | 1397 KiB | 13 Q