3v4l.org

run code in 300+ PHP versions simultaneously
<?php $URLdate = "2016-03-22"; $URL = date("Y_m_d",strtotime("last Monday", strtotime($URLdate))) . '.html'; echo $URL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V57Kj
function name:  (null)
number of ops:  16
compiled vars:  !0 = $URLdate, !1 = $URL
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2016-03-22'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y_m_d'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'last+Monday'
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        CONCAT                                           ~6      $5, '.html'
         13        ASSIGN                                                   !1, ~6
    4    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.98 ms | 1398 KiB | 17 Q