3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gendate = new DateTime(); $gendate->setISODate(2016, 21, 7); //year , week num , day echo $gendate->format('D, d.m.Y 18:00');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QhWaE
function name:  (null)
number of ops:  13
compiled vars:  !0 = $gendate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        INIT_METHOD_CALL                                         !0, 'setISODate'
          4        SEND_VAL_EX                                              2016
          5        SEND_VAL_EX                                              21
          6        SEND_VAL_EX                                              7
          7        DO_FCALL                                      0          
    5     8        INIT_METHOD_CALL                                         !0, 'format'
          9        SEND_VAL_EX                                              'D%2C+d.m.Y+18%3A00'
         10        DO_FCALL                                      0  $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.07 ms | 1432 KiB | 13 Q