3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.96 ms | 1385 KiB | 17 Q