3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 1; $i < 10; $i++) { echo date('c',strtotime("+$i days")) . " - " . date('c',strtotime('wednesday this week',strototime("+$i days"))) . "<br/>\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 2
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 2
Branch analysis from position: 33
Branch analysis from position: 2
filename:       /in/YHcRk
function name:  (null)
number of ops:  34
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->31
    6     2    >   INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'c'
          4        INIT_FCALL                                               'strtotime'
          5        ROPE_INIT                                     3  ~3      '%2B'
          6        ROPE_ADD                                      1  ~3      ~3, !0
          7        ROPE_END                                      2  ~2      ~3, '+days'
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      $6, '+-+'
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'c'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 'wednesday+this+week'
         17        INIT_FCALL_BY_NAME                                       'strototime'
         18        ROPE_INIT                                     3  ~9      '%2B'
         19        ROPE_ADD                                      1  ~9      ~9, !0
         20        ROPE_END                                      2  ~8      ~9, '+days'
         21        SEND_VAL_EX                                              ~8
         22        DO_FCALL                                      0  $11     
         23        SEND_VAR                                                 $11
         24        DO_ICALL                                         $12     
         25        SEND_VAR                                                 $12
         26        DO_ICALL                                         $13     
         27        CONCAT                                           ~14     ~7, $13
         28        CONCAT                                           ~15     ~14, '%3Cbr%2F%3E%0A'
         29        ECHO                                                     ~15
    3    30        PRE_INC                                                  !0
         31    >   IS_SMALLER                                               !0, 10
         32      > JMPNZ                                                    ~17, ->2
    8    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.07 ms | 1396 KiB | 17 Q