3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strmnth = "01-".date("Y"); $endmnth2 = date("m"); $stmnt = 1; $endmnth = "".date("m-Y"); echo $strmnth; echo "<br>".$endmnth2; echo "<br>".$stmnt; echo "<br>".$endmnth; if($stmnt<10) $stmnt="0".$stmnt; if($stmnt == "01") $stmnt3 = "Jan"; else if($stmnt == "02") $stmnt3 = "Feb"; else if($stmnt == "03") $stmnt3 = "Mar"; else if($stmnt == "04") $stmnt3 = "Apr"; else if($stmnt == "05") $stmnt3 = "May"; else if($stmnt == "06") $stmnt3 = "Jun"; else if($stmnt == "07") $stmnt3 = "Jul"; else if($stmnt == "08") $stmnt3 = "Aug"; else if($stmnt == "09") $stmnt3 = "Sep"; else if($stmnt == "10") $stmnt3 = "Oct"; else if($stmnt == "11") $stmnt3 = "Nov"; else if($stmnt == "12") $stmnt3 = "Dec"; $_GET['year']="2013"; $stmnt2 = "".$stmnt."-".$_GET['year']; $stmnt4 = "".$stmnt3."-".$_GET['year']; echo "<br>".$stmnt4; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 38
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 38
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 42
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 44, Position 2 = 46
Branch analysis from position: 44
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 50
Branch analysis from position: 48
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 52, Position 2 = 54
Branch analysis from position: 52
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 54
2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 58
Branch analysis from position: 56
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 58
2 jumps found. (Code = 43) Position 1 = 60, Position 2 = 62
Branch analysis from position: 60
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 62
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 66
Branch analysis from position: 64
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 66
2 jumps found. (Code = 43) Position 1 = 68, Position 2 = 70
Branch analysis from position: 68
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 70
2 jumps found. (Code = 43) Position 1 = 72, Position 2 = 73
Branch analysis from position: 72
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 73
Branch analysis from position: 26
filename:       /in/NlH89
function name:  (null)
number of ops:  91
compiled vars:  !0 = $strmnth, !1 = $endmnth2, !2 = $stmnt, !3 = $endmnth, !4 = $stmnt3, !5 = $stmnt2, !6 = $stmnt4
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y'
          2        DO_ICALL                                         $7      
          3        CONCAT                                           ~8      '01-', $7
          4        ASSIGN                                                   !0, ~8
    3     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'm'
          7        DO_ICALL                                         $10     
          8        ASSIGN                                                   !1, $10
    5     9        ASSIGN                                                   !2, 1
    7    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'm-Y'
         12        DO_ICALL                                         $13     
         13        CONCAT                                           ~14     '', $13
         14        ASSIGN                                                   !3, ~14
    9    15        ECHO                                                     !0
   11    16        CONCAT                                           ~16     '%3Cbr%3E', !1
         17        ECHO                                                     ~16
   13    18        CONCAT                                           ~17     '%3Cbr%3E', !2
         19        ECHO                                                     ~17
   15    20        CONCAT                                           ~18     '%3Cbr%3E', !3
         21        ECHO                                                     ~18
   17    22        IS_SMALLER                                               !2, 10
         23      > JMPZ                                                     ~19, ->26
   18    24    >   CONCAT                                           ~20     '0', !2
         25        ASSIGN                                                   !2, ~20
   19    26    >   IS_EQUAL                                                 !2, '01'
         27      > JMPZ                                                     ~22, ->30
   20    28    >   ASSIGN                                                   !4, 'Jan'
         29      > JMP                                                      ->73
   21    30    >   IS_EQUAL                                                 !2, '02'
         31      > JMPZ                                                     ~24, ->34
   22    32    >   ASSIGN                                                   !4, 'Feb'
         33      > JMP                                                      ->73
   23    34    >   IS_EQUAL                                                 !2, '03'
         35      > JMPZ                                                     ~26, ->38
   24    36    >   ASSIGN                                                   !4, 'Mar'
         37      > JMP                                                      ->73
   25    38    >   IS_EQUAL                                                 !2, '04'
         39      > JMPZ                                                     ~28, ->42
   26    40    >   ASSIGN                                                   !4, 'Apr'
         41      > JMP                                                      ->73
   27    42    >   IS_EQUAL                                                 !2, '05'
         43      > JMPZ                                                     ~30, ->46
   28    44    >   ASSIGN                                                   !4, 'May'
         45      > JMP                                                      ->73
   29    46    >   IS_EQUAL                                                 !2, '06'
         47      > JMPZ                                                     ~32, ->50
   30    48    >   ASSIGN                                                   !4, 'Jun'
         49      > JMP                                                      ->73
   31    50    >   IS_EQUAL                                                 !2, '07'
         51      > JMPZ                                                     ~34, ->54
   32    52    >   ASSIGN                                                   !4, 'Jul'
         53      > JMP                                                      ->73
   33    54    >   IS_EQUAL                                                 !2, '08'
         55      > JMPZ                                                     ~36, ->58
   34    56    >   ASSIGN                                                   !4, 'Aug'
         57      > JMP                                                      ->73
   35    58    >   IS_EQUAL                                                 !2, '09'
         59      > JMPZ                                                     ~38, ->62
   36    60    >   ASSIGN                                                   !4, 'Sep'
         61      > JMP                                                      ->73
   37    62    >   IS_EQUAL                                                 !2, '10'
         63      > JMPZ                                                     ~40, ->66
   38    64    >   ASSIGN                                                   !4, 'Oct'
         65      > JMP                                                      ->73
   39    66    >   IS_EQUAL                                                 !2, '11'
         67      > JMPZ                                                     ~42, ->70
   40    68    >   ASSIGN                                                   !4, 'Nov'
         69      > JMP                                                      ->73
   41    70    >   IS_EQUAL                                                 !2, '12'
         71      > JMPZ                                                     ~44, ->73
   42    72    >   ASSIGN                                                   !4, 'Dec'
   43    73    >   FETCH_W                      global              $46     '_GET'
         74        ASSIGN_DIM                                               $46, 'year'
         75        OP_DATA                                                  '2013'
   44    76        CONCAT                                           ~48     '', !2
         77        CONCAT                                           ~49     ~48, '-'
         78        FETCH_R                      global              ~50     '_GET'
         79        FETCH_DIM_R                                      ~51     ~50, 'year'
         80        CONCAT                                           ~52     ~49, ~51
         81        ASSIGN                                                   !5, ~52
   45    82        CONCAT                                           ~54     '', !4
         83        CONCAT                                           ~55     ~54, '-'
         84        FETCH_R                      global              ~56     '_GET'
         85        FETCH_DIM_R                                      ~57     ~56, 'year'
         86        CONCAT                                           ~58     ~55, ~57
         87        ASSIGN                                                   !6, ~58
   47    88        CONCAT                                           ~60     '%3Cbr%3E', !6
         89        ECHO                                                     ~60
   49    90      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.21 ms | 1404 KiB | 15 Q