Web lists-archives.com

[PHP] Basic php code question




Hi all,

I could use a bit of help making sense of this inherited code...

$_premises = array(
'APARTMENTS'=>'APARTMENT','APT',
'APTS'=>'APT',
'ROOMS'=>'RM','RMS','RM',
'#'=>'APT#','APT #','SUITE#','SUITE #','OFFICE#','OFFICE #','Suite');


Q: when i see something like:

'APARTMENTS'=>'APARTMENT','APT',

does that mean...

'APARTMENTS' can equal/match 'APARTMENT' ?and/or match? can equal 'APT'

or what does this mean?

also

'#'=>'APT#','APT #','SUITE#','SUITE #','OFFICE#','OFFICE #','Suite'

does that mean...

'#' can equal 'APT' ?and/or match? can equal 'SUITE#' ?and/or match? can
equal ----these also 'OFFICE#','OFFICE #','Suite'



Thanks

-- 
Thanks - Dave
[db-18]