3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.92 ms | 1394 KiB | 19 Q