3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); foreach(range(2015, 2020) as $y) { echo date('j D M Y', strtotime("12th November $y"))."\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 21
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 21
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/0Y1jo
function name:  (null)
number of ops:  23
compiled vars:  !0 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FLondon'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'range'
          4        SEND_VAL                                                 2015
          5        SEND_VAL                                                 2020
          6        DO_ICALL                                         $2      
          7      > FE_RESET_R                                       $3      $2, ->21
          8    > > FE_FETCH_R                                               $3, !0, ->21
    7     9    >   INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'j+D+M+Y'
         11        INIT_FCALL                                               'strtotime'
         12        NOP                                                      
         13        FAST_CONCAT                                      ~4      '12th+November+', !0
         14        SEND_VAL                                                 ~4
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                         $6      
         18        CONCAT                                           ~7      $6, '%0A'
         19        ECHO                                                     ~7
    5    20      > JMP                                                      ->8
         21    >   FE_FREE                                                  $3
    8    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.89 ms | 1395 KiB | 21 Q