News Feed
Sections




News Archive
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
July 01, 2013 @ 10: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.

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

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

blog comments powered by Disqus

Similar Posts

Evert Pot's Blog: PHP: Arrays vs. Objects

SitePoint PHP Blog: Building an Internationalized Blog with FigDice

HowToForge.com: Loops In PHP

SitePoint PHP Blog: Exploring the Cache API in Drupal 8

Tutorial: A Simple Sessions Tutorial


Community Events

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


security release podcast interview voicesoftheelephpant laravel5 unittest symfony introduction library community series version framework language extension laravel api threedevsandamaybe opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework