3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($day = 1; $day <= 31; ++$day) { print "\t<option value=\"$day\">$day</option>\n"; } $month = array(Jan,Fab,Mar,Apl,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec); print("\$array[\"month\"]="); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/WNYFY
function name:  (null)
number of ops:  38
compiled vars:  !0 = $day, !1 = $month
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->9
    3     2    >   ROPE_INIT                                     5  ~4      '%09%3Coption+value%3D%22'
          3        ROPE_ADD                                      1  ~4      ~4, !0
          4        ROPE_ADD                                      2  ~4      ~4, '%22%3E'
          5        ROPE_ADD                                      3  ~4      ~4, !0
          6        ROPE_END                                      4  ~3      ~4, '%3C%2Foption%3E%0A'
          7        ECHO                                                     ~3
    2     8        PRE_INC                                                  !0
          9    >   IS_SMALLER_OR_EQUAL                                      !0, 31
         10      > JMPNZ                                                    ~8, ->2
    5    11    >   FETCH_CONSTANT                                   ~9      'Jan'
         12        INIT_ARRAY                                       ~10     ~9
         13        FETCH_CONSTANT                                   ~11     'Fab'
         14        ADD_ARRAY_ELEMENT                                ~10     ~11
         15        FETCH_CONSTANT                                   ~12     'Mar'
         16        ADD_ARRAY_ELEMENT                                ~10     ~12
         17        FETCH_CONSTANT                                   ~13     'Apl'
         18        ADD_ARRAY_ELEMENT                                ~10     ~13
         19        FETCH_CONSTANT                                   ~14     'May'
         20        ADD_ARRAY_ELEMENT                                ~10     ~14
         21        FETCH_CONSTANT                                   ~15     'Jun'
         22        ADD_ARRAY_ELEMENT                                ~10     ~15
         23        FETCH_CONSTANT                                   ~16     'Jul'
         24        ADD_ARRAY_ELEMENT                                ~10     ~16
         25        FETCH_CONSTANT                                   ~17     'Aug'
         26        ADD_ARRAY_ELEMENT                                ~10     ~17
         27        FETCH_CONSTANT                                   ~18     'Sep'
         28        ADD_ARRAY_ELEMENT                                ~10     ~18
         29        FETCH_CONSTANT                                   ~19     'Oct'
         30        ADD_ARRAY_ELEMENT                                ~10     ~19
         31        FETCH_CONSTANT                                   ~20     'Nov'
         32        ADD_ARRAY_ELEMENT                                ~10     ~20
         33        FETCH_CONSTANT                                   ~21     'Dec'
         34        ADD_ARRAY_ELEMENT                                ~10     ~21
         35        ASSIGN                                                   !1, ~10
    6    36        ECHO                                                     '%24array%5B%22month%22%5D%3D'
    8    37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.47 ms | 1386 KiB | 13 Q