3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x= new DateTime(strtotime('last monday', strtotime('tomorrow'))); echo date('m/d/Y', strtotime('last monday tomorrow'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QPH99
function name:  (null)
number of ops:  20
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DateTime'
          1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 'last+monday'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'tomorrow'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR_NO_REF_EX                                       $3
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !0, $1
    3    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'm%2Fd%2FY'
         13        INIT_FCALL                                               'strtotime'
         14        SEND_VAL                                                 'last+monday+tomorrow'
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                         $7      
         18        ECHO                                                     $7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.31 ms | 1386 KiB | 17 Q