3v4l.org

run code in 200+ PHP versions simultaneously
<?php $b = (new \DateTime((new \DateTimeImmutable())->modify("next Monday")->format("Y-m-d H:i:s"))); var_dump($a, $b, $c);
based on bjqZh
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JpKfH
function name:  (null)
number of ops:  18
compiled vars:  !0 = $b, !1 = $a, !2 = $c
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   NEW                                              $3      :31
         1        NEW                                              $4      :31
         2        DO_FCALL                                      0          
         3        INIT_METHOD_CALL                                         $4, 'modify'
         4        SEND_VAL_EX                                              'next+Monday'
         5        DO_FCALL                                      0  $6      
         6        INIT_METHOD_CALL                                         $6, 'format'
         7        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         8        DO_FCALL                                      0  $7      
         9        SEND_VAR_NO_REF_EX                                       $7
        10        DO_FCALL                                      0          
        11        QM_ASSIGN                                                !0
   6    12        INIT_FCALL                                               'var_dump'
        13        SEND_VAR                                                 !1
        14        SEND_VAR                                                 !0
        15        SEND_VAR                                                 !2
        16        DO_ICALL                                                 
        17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0