3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.31 ms | 1395 KiB | 15 Q