3v4l.org

run code in 300+ PHP versions simultaneously
<?php $selectedNumber = 75000; echo '<option value="0">Min Price</option>'; echo "\n"; // for the sake of demo readability foreach (range(25000, 200000, 25000) as $number) { printf( '<option value="%s"%s>%s</option>', $number, $number == $selectedNumber ? ' selected' : '', number_format($number) ); echo "\n"; // for the sake of demo readability }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 26
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 26
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/IZuaH
function name:  (null)
number of ops:  28
compiled vars:  !0 = $selectedNumber, !1 = $number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 75000
    5     1        ECHO                                                     '%3Coption+value%3D%220%22%3EMin+Price%3C%2Foption%3E'
    6     2        ECHO                                                     '%0A'
    7     3        INIT_FCALL                                               'range'
          4        SEND_VAL                                                 25000
          5        SEND_VAL                                                 200000
          6        SEND_VAL                                                 25000
          7        DO_ICALL                                         $3      
          8      > FE_RESET_R                                       $4      $3, ->26
          9    > > FE_FETCH_R                                               $4, !1, ->26
    8    10    >   INIT_FCALL                                               'printf'
    9    11        SEND_VAL                                                 '%3Coption+value%3D%22%25s%22%25s%3E%25s%3C%2Foption%3E'
   10    12        SEND_VAR                                                 !1
   11    13        IS_EQUAL                                                 !1, !0
         14      > JMPZ                                                     ~5, ->17
         15    >   QM_ASSIGN                                        ~6      '+selected'
         16      > JMP                                                      ->18
         17    >   QM_ASSIGN                                        ~6      ''
         18    >   SEND_VAL                                                 ~6
   12    19        INIT_FCALL                                               'number_format'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $7      
         22        SEND_VAR                                                 $7
    8    23        DO_ICALL                                                 
   14    24        ECHO                                                     '%0A'
    7    25      > JMP                                                      ->9
         26    >   FE_FREE                                                  $4
   15    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.33 ms | 1003 KiB | 16 Q