3v4l.org

run code in 300+ PHP versions simultaneously
<?php print date_create('monday next week')->format('d-m-Y'); print date_create('friday next week')->format('d-m-Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9AVRo
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_create'
          1        SEND_VAL                                                 'monday+next+week'
          2        DO_ICALL                                         $0      
          3        INIT_METHOD_CALL                                         $0, 'format'
          4        SEND_VAL_EX                                              'd-m-Y'
          5        DO_FCALL                                      0  $1      
          6        ECHO                                                     $1
    3     7        INIT_FCALL                                               'date_create'
          8        SEND_VAL                                                 'friday+next+week'
          9        DO_ICALL                                         $2      
         10        INIT_METHOD_CALL                                         $2, 'format'
         11        SEND_VAL_EX                                              'd-m-Y'
         12        DO_FCALL                                      0  $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.99 ms | 1394 KiB | 15 Q