What are a list of words you should not use when programming PHP?

jabbamonkey

New member
I know there are some words you should avoid using when writing PHP. Words that are predefined functions and variables. Such as "load." Does anyone know a website that lists these words (so I know what to avoid)? And can they easily explain why you should not use them (so I can explain this to someone)?
 
They are called reserved words, or keywords, and you can't use 'em as constants because they are part of the PHP language. It would make it impossible for the PHP engine to know what you are referring to: the keyword or the constant you've declared.

A list of PHP keywords can be found below.
 
Back
Top