News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Array Operators in PHP Interesting but Less Spoken
July 01, 2013 @ 10:56:43

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

0 comments voice your opinion now!
array operator union equality identity other tutorial


blog comments powered by Disqus

Similar Posts Inversion of Control - The Hollywood Principle

Adam Gotterer's Blog: Building an Object Collection Manager with the Standard PHP Library (SPL)

Tobias Schlitt's Blog: eZ Template article

IBM developerWorks: A step-by-step guide to publishing your own PEAR channels

Web Builder Zone: Real-life closures examples...for real

Community Events

Don't see your event here?
Let us know!

podcast library conference developer list language laravel api deployment community framework voicesoftheelephpant introduction release interview bugfix series tips symfony zendserver

All content copyright, 2014 :: - Powered by the Solar PHP Framework