3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date('c', strtotime("next Friday", strtotime("01 May 2013"))), date('c', strtotime("last Friday", strtotime("next month"))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r6L4D
function name:  (null)
number of ops:  27
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'c'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'next+Friday'
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '01+May+2013'
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'c'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 'last+Friday'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 'next+month'
         19        DO_ICALL                                         $3      
         20        SEND_VAR                                                 $3
         21        DO_ICALL                                         $4      
         22        SEND_VAR                                                 $4
         23        DO_ICALL                                         $5      
         24        SEND_VAR                                                 $5
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.71 ms | 1395 KiB | 19 Q