<?php
// Everything you enter here will be executed by our servers. Try it!
$region = array(
'AL' => 'Alabama',
'AK' => 'Alaska',
'AZ' => 'Arizona',
'AR' => 'Arkansas',
'CA' => 'California',
'CO' => 'Colorado',
'CT' => 'Connecticut',
'DE' => 'Delaware',
'DC' => 'Washington DC',
'FL' => 'Florida',
'GA' => 'Georgia',
'HI' => 'Hawaii',
'ID' => 'Idaho',
'IL' => 'Illinois',
'IN' => 'Indiana',
'IA' => 'Iowa',
'KS' => 'Kansas',
'KY' => 'Kentucky',
'LA' => 'Louisiana',
'ME' => 'Maine',
'MD' => 'Maryland',
'MA' => 'Massachusetts',
'MI' => 'Michigan',
'MN' => 'Minnesota',
'MS' => 'Mississippi',
'MO' => 'Missouri',
'MT' => 'Montana',
'NE' => 'Nebraska',
'NV' => 'Nevada',
'NH' => 'New Hampshire',
'NJ' => 'New Jersey',
'NM' => 'New Mexico',
'NY' => 'New York',
'NC' => 'North Carolina',
'ND' => 'North Dakota',
'OH' => 'Ohio',
'OK' => 'Oklahoma',
'OR' => 'Oregon',
'PA' => 'Pennsylvania',
'RI' => 'Rhode Island',
'SC' => 'South Carolina',
'SD' => 'South Dakota',
'TN' => 'Tennessee',
'TX' => 'Texas',
'UT' => 'Utah',
'VT' => 'Vermont',
'VA' => 'Virginia',
'WA' => 'Washington',
'WV' => 'West Virginia',
'WI' => 'Wisconsin',
'WY' => 'Wyoming',
);
$_GET['region'] = 'WI';
$chosen = (isset($_GET['region']) and isset($region[strtoupper($_GET['region'])])) ? $region[strtoupper($_GET['region'])] : $region['WY'];
echo $chosen;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 23
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename: /in/VkJCQ
function name: (null)
number of ops: 28
compiled vars: !0 = $region, !1 = $chosen
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > ASSIGN !0, <array>
58 1 FETCH_W global $3 '_GET'
2 ASSIGN_DIM $3, 'region'
3 OP_DATA 'WI'
60 4 FETCH_IS ~5 '_GET'
5 ISSET_ISEMPTY_DIM_OBJ 0 ~6 ~5, 'region'
6 > JMPZ_EX ~6 ~6, ->14
7 > INIT_FCALL 'strtoupper'
8 FETCH_R global ~7 '_GET'
9 FETCH_DIM_R ~8 ~7, 'region'
10 SEND_VAL ~8
11 DO_ICALL $9
12 ISSET_ISEMPTY_DIM_OBJ 0 ~10 !0, $9
13 BOOL ~6 ~10
14 > > JMPZ ~6, ->23
15 > INIT_FCALL 'strtoupper'
16 FETCH_R global ~11 '_GET'
17 FETCH_DIM_R ~12 ~11, 'region'
18 SEND_VAL ~12
19 DO_ICALL $13
20 FETCH_DIM_R ~14 !0, $13
21 QM_ASSIGN ~15 ~14
22 > JMP ->25
23 > FETCH_DIM_R ~16 !0, 'WY'
24 QM_ASSIGN ~15 ~16
25 > ASSIGN !1, ~15
62 26 ECHO !1
27 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
159.17 ms | 1396 KiB | 15 Q