Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 12-02-2004, 08:20 PM PHP Reserved Words
Junior Talker

Posts: 36
Trades: 0
Since I inadvertantly used a reserved PHP word in one of my programs causing it to do the weirdest things, I thought I'd look up a list of the reserved words and post it here for everyone's benefit:

Code:
and                 break               case
class               continue            default
do                  else                elseif
empty()             endfor              endif
endswitch           endwhile            E_ALL
E_PARSE             E_ERROR             E_WARNING.
extends             FALSE               for
foreach             function            if
include()           include_once()      global
list()              new                 not
or                  PHP_OS              PHP_VERSION
require()           require_once()      return
static              switch              this
TRUE                var                 xor
virtual()           while               __FILE__
__LINE__
So, if any of your programs are doing funny things, make sure you check if you are using any of the above key terms as variables or what not.
bytech is offline
Reply With Quote
View Public Profile Visit bytech's homepage!
 
 
Register now for full access!
Old 12-03-2004, 01:14 PM Re: PHP Reserved Words
Banned

Posts: 0
Trades: 0
thanks for that bytech
wirlwind1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP Reserved Words
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10029 seconds with 12 queries