3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* echo date('d/m/Y'); print "\n"; echo date('d/m/Y', strtotime(date('Y')."-W".date("W")."-1")); print "\n"; echo date('d/m/Y', strtotime(date('Y')."-W".date("W")."-5")); print "\n"; echo date('d/m/Y', strtotime(date('Y')."-W27-1")); print "\n"; echo date('d/m/Y', strtotime(date('Y')."-W27-5")); */ print "\n"; echo date('d/m/Y', strtotime(date('Y')."-W27-".date('t'))); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DKDnp
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   ECHO                                                     '%0A'
   14     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'd%2Fm%2FY'
          3        INIT_FCALL                                               'strtotime'
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y'
          6        DO_ICALL                                         $0      
          7        CONCAT                                           ~1      $0, '-W27-'
          8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 't'
         10        DO_ICALL                                         $2      
         11        CONCAT                                           ~3      ~1, $2
         12        SEND_VAL                                                 ~3
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                         $5      
         16        ECHO                                                     $5
   15    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1394 KiB | 17 Q