Basic php code question
| From: | Dave | Date: | Tue, 30 Jan 2018 23:07:49 +0000 |
| Subject: | Basic php code question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-326368@lists.php.net to get a copy of this message | ||
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]