SELF vs self

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaceinla
Forum Commoner
Posts: 25
Joined: Thu Oct 14, 2010 12:57 pm

SELF vs self

Post by jaceinla »

As rookie of a mistake as this is, I got caught up in and had to ask about it...

php is THE language of caps, where This != this != THIS

But while coding on autopilot I capped off self to SELF and the editor still color coded it as a reserved keyword...just to be sure, SELF does nothing correct?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: SELF vs self

Post by Eran »

It depends on the operating system, Windows is not as case sensitive as Linux.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: SELF vs self

Post by klevis miho »

It depends on the editor.
Post Reply