3v4l.org

run code in 300+ PHP versions simultaneously
<?php print (new DateTime('+ 1 month'))->modify('next Friday')->format('l Ymd');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j8hgK
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $0      'DateTime'
          1        SEND_VAL_EX                                              '%2B+1+month'
          2        DO_FCALL                                      0          
          3        INIT_METHOD_CALL                                         $0, 'modify'
          4        SEND_VAL_EX                                              'next+Friday'
          5        DO_FCALL                                      0  $2      
          6        INIT_METHOD_CALL                                         $2, 'format'
          7        SEND_VAL_EX                                              'l+Ymd'
          8        DO_FCALL                                      0  $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.77 ms | 1422 KiB | 13 Q