Jump to content

bugs in php tutorial


jenya

Recommended Posts

Both are legal in PHP. There is a small difference that you can read about here.

 

There is also a widely used set of coding recommendations out there that says this:

 

 

The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words.

I personally ignore a lot of those recommendations, but if you are ever employed as a developer, you may be required to use them. (You might also be required to use a different set, too.)

Edited by Deirdre's Dad
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...