3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lundi = strtotime('next monday'); $numWeekM6 = strftime('%U', strtotime('+3 week', $lundi)) + 1; echo $lundi; echo $numWeekM6;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sDj35
function name:  (null)
number of ops:  17
compiled vars:  !0 = $lundi, !1 = $numWeekM6
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'next+monday'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strftime'
          5        SEND_VAL                                                 '%25U'
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 '%2B3+week'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        ADD                                              ~6      $5, 1
         13        ASSIGN                                                   !1, ~6
    4    14        ECHO                                                     !0
    5    15        ECHO                                                     !1
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.85 ms | 1394 KiB | 17 Q