3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('monday this week', time()); var_dump(date('N', strtotime('today')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rKW6M
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'monday+this+week'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
    5     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'N'
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 'today'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.92 ms | 1386 KiB | 21 Q