3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.77 ms | 1395 KiB | 17 Q