Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Array Operators in PHP: Interesting but Less Spoken
Jul 01, 2013 @ 15:56:43

On PHPMaster.com there's a new tutorial about array operators in PHP, more so how the usual operators interact with arrays.

Operators in PHP can be organized into seven different categories: arithmetic, assignment, bitwise, comparison, error control, execution, incrementing/decrementing, logical, string, array, and type operators. This article details working with array operators, but also covers how some of the other operators work when used with arrays.

They talk about the operators for:

  • array union (plus)
  • equality (double equals)
  • identity (triple equals)

They also talk briefly about some of the other PHP operators with arrays (like subtraction, multiplication and division) and some of the conversions that PHP does when they're used.

tagged: array operator union equality identity other tutorial

Link: http://phpmaster.com/array-operators-in-php-interesting-but-less-spoken

John Lim's Blog:
Why Should PHP ever be taught in school?
Jan 01, 2008 @ 17:15:00

In this new post to the PHP Everywhere blog, John Lim asks an interesting question - why should PHP ever be taught in schools? (in response to this post)

If something is popular but hard to understand then we need an education process. To just shake our heads and give up is simply immature (or trolling). Otherwise we might as well say that English (or any other spoken language for that matter) should not be taught, because spoken languages are illogical, imprecise and therefore ... useless.

John also clears up some of the misconceptions from the other post with equality and type comparison in PHP.

tagged: school taught equality compare operator school taught equality compare operator

Link:

John Lim's Blog:
Why Should PHP ever be taught in school?
Jan 01, 2008 @ 17:15:00

In this new post to the PHP Everywhere blog, John Lim asks an interesting question - why should PHP ever be taught in schools? (in response to this post)

If something is popular but hard to understand then we need an education process. To just shake our heads and give up is simply immature (or trolling). Otherwise we might as well say that English (or any other spoken language for that matter) should not be taught, because spoken languages are illogical, imprecise and therefore ... useless.

John also clears up some of the misconceptions from the other post with equality and type comparison in PHP.

tagged: school taught equality compare operator school taught equality compare operator

Link:


Trending Topics: