3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo strtotime('monday this week', time()); $dayOfWeek = ((int)date('N'))-1; //$startOfWeek = var_dump($dayOfWeek);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pknML
function name:  (null)
number of ops:  10
compiled vars:  !0 = $dayOfWeek
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'N'
          2        DO_ICALL                                         $1      
          3        CAST                                          4  ~2      $1
          4        SUB                                              ~3      ~2, 1
          5        ASSIGN                                                   !0, ~3
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.51 ms | 1394 KiB | 17 Q