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.
|