3v4l.org

run code in 300+ PHP versions simultaneously
<?php $midnight = new DateTime(); $midnight->setTimestamp(1374246685)->modify('tomorrow')->setTime(0, 0); var_dump($midnight);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OZdj0
function name:  (null)
number of ops:  17
compiled vars:  !0 = $midnight
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, 'setTimestamp'
          4        SEND_VAL_EX                                              1374246685
          5        DO_FCALL                                      0  $4      
          6        INIT_METHOD_CALL                                         $4, 'modify'
          7        SEND_VAL_EX                                              'tomorrow'
          8        DO_FCALL                                      0  $5      
          9        INIT_METHOD_CALL                                         $5, 'setTime'
         10        SEND_VAL_EX                                              0
         11        SEND_VAL_EX                                              0
         12        DO_FCALL                                      0          
    4    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.15 ms | 1386 KiB | 15 Q