=> 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

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

All possible combinations of String in PL/SQL
Hi All,

Could you please explain the logic of getting all possible combinations of String

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

Help with PHP and checkboxes
I am posting this for a friend of mine, i wrote a small script for her to process her form data to a

pspell
using pspell, is it possible to get words that would be best in the current phrase?

For examp

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Help on code output
My CODE:

Code: [Select] echo "<phone>".$line["phone"].&qu

Code Help.. If txt input box empty search X instead..
I am having a problem with my search script. At current it will simply search by a selected date whi

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

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