Basic php code question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux