3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = date('m'); echo "Mois en cours : $month"; echo "\nMois suivant : ".date('m/Y', strtotime('now + 1 month')); if($month > 1 && $month != 12){ $month--; } // echo "\nMois : $month"; for($i = $month; $i <= 12; $i++){ $month = $i; if(strlen($i) == 1){ $month = '0'.$month; } $date = $month.'/'.date('Y'); $des = "Production Gocad du réseau intel du $date"; echo "\n\n$des"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
2 jumps found. (Code = 44) Position 1 = 45, Position 2 = 24
Branch analysis from position: 45
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 45, Position 2 = 24
Branch analysis from position: 45
Branch analysis from position: 24
Branch analysis from position: 30
Branch analysis from position: 22
Branch analysis from position: 20
filename:       /in/FsjIf
function name:  (null)
number of ops:  46
compiled vars:  !0 = $month, !1 = $i, !2 = $date, !3 = $des
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'm'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    4     4        NOP                                                      
          5        FAST_CONCAT                                      ~6      'Mois+en+cours+%3A+', !0
          6        ECHO                                                     ~6
    5     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'm%2FY'
          9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 'now+%2B+1+month'
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                         $8      
         14        CONCAT                                           ~9      '%0AMois+suivant+%3A+', $8
         15        ECHO                                                     ~9
    7    16        IS_SMALLER                                       ~10     1, !0
         17      > JMPZ_EX                                          ~10     ~10, ->20
         18    >   IS_NOT_EQUAL                                     ~11     !0, 12
         19        BOOL                                             ~10     ~11
         20    > > JMPZ                                                     ~10, ->22
    8    21    >   PRE_DEC                                                  !0
   13    22    >   ASSIGN                                                   !1, !0
         23      > JMP                                                      ->43
   14    24    >   ASSIGN                                                   !0, !1
   15    25        STRLEN                                           ~15     !1
         26        IS_EQUAL                                                 ~15, 1
         27      > JMPZ                                                     ~16, ->30
   16    28    >   CONCAT                                           ~17     '0', !0
         29        ASSIGN                                                   !0, ~17
   18    30    >   CONCAT                                           ~19     !0, '%2F'
         31        INIT_FCALL                                               'date'
         32        SEND_VAL                                                 'Y'
         33        DO_ICALL                                         $20     
         34        CONCAT                                           ~21     ~19, $20
         35        ASSIGN                                                   !2, ~21
   20    36        NOP                                                      
         37        FAST_CONCAT                                      ~23     'Production+Gocad+du+r%C3%A9seau+intel+du+', !2
         38        ASSIGN                                                   !3, ~23
   21    39        NOP                                                      
         40        FAST_CONCAT                                      ~25     '%0A%0A', !3
         41        ECHO                                                     ~25
   13    42        PRE_INC                                                  !1
         43    >   IS_SMALLER_OR_EQUAL                                      !1, 12
         44      > JMPNZ                                                    ~27, ->24
   22    45    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.25 ms | 1400 KiB | 17 Q