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

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

defining website tags
Hi,

What would be the best way to define tags for my site, such as website title, url etc.

Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

Calling variables
I want to call this to my website but it doesn't display what I want it to,

Code: <h5&

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

Generate multilayered array from string.
ok so i have a string that looks like this:
Code: [Select]blog:edit_all,delete_all|users:edit_all

Validation
Hello

I know this is a really vag question.

I need to have a input field on a form th

Curl timeout breaks script
So im having difficulties with skipping timeout error in curl
my script calls different functions

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