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('M', strtotime(date('Y')."-W27-5")); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Scbj
function name:  (null)
number of ops:  14
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                                                 'M'
          3        INIT_FCALL                                               'strtotime'
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y'
          6        DO_ICALL                                         $0      
          7        CONCAT                                           ~1      $0, '-W27-5'
          8        SEND_VAL                                                 ~1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
   15    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.77 ms | 1394 KiB | 17 Q