Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 04:52 am EST
Geeklog Forums
define() vs. $LANG_PL00 = array() -- wats the diff?
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
I am currently writing a language file for a plugin as I go and was wondering what the difference is between define() and $LANG_PL00 = array()...
I've seen examples where both are used, but I can't tell why or what the diff may be.
I've seen examples where both are used, but I can't tell why or what the diff may be.
8
8
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
yes, but why not just put all the variables into the array rather than defining constants, or visa versa. I just cant seem to rap my head around the significance of one over the other as far as the language file is concerned.
off i go to study the manual somemore.
off i go to study the manual somemore.
8
9
Quote
All times are EST. The time is now 04:52 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content