0

Are the reserved words in PHP (final, public, function, etc) case-sensitive?

Would it be valid to write:

Final Public Function
Duncan Jones
  • 63,838
  • 26
  • 184
  • 242
Abdo
  • 131
  • 1
  • 8

1 Answers1

2

I've never had a problem with case-sensitivity as it relates to reserved words. Sometimes I capitalize them, sometimes I don't. Take a look at this list for examples of usage:

http://us.php.net/manual/en/reserved.keywords.php

rws907
  • 787
  • 4
  • 14
  • 25