3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.87 ms | 1006 KiB | 13 Q