3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date(m-d, strtotime( "previous monday" )); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FbA4W
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        FETCH_CONSTANT                                   ~0      'm'
          2        FETCH_CONSTANT                                   ~1      'd'
          3        SUB                                              ~2      ~0, ~1
          4        SEND_VAL                                                 ~2
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 'previous+monday'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
    3    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.53 ms | 1398 KiB | 17 Q