=> and <=


Posted on 16th Feb 2014 07:03 pm by admin

So I was digging through some code when I came across the <= operator. This is the first time I've ever seen it. I felt the same way I did when I first saw a ternary statement.

What is it's purpose. I want to say it's a reverse assignment operator but that just make entirely no sense.

Did you know?Explore Trending and Topic pages for more stories like this.
Just for the clueless ones reading I'll elaborate with code
Code: $someArray = array (
'keyOne' => "the value",
'keyTwo' => "the value" <= "something else", /// What in the world is going on here?
);
or this
Code: foreach ($array as $key=> $value )
while ($key <= $blah ) { /// <---------- huh?
$blah -= $key;
$str.= $value;
}
No comments posted yet

Your Answer:

Login to answer
73 Like 35 Dislike
Previous forums Next forums
Other forums

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

sql problems
I am having a small problem with my sql statement. it is inserting into 4 of the fields.

fie

need help in creating captcha
hi i have a problem creating captcha system. i create some basic script for image displaying but it

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash