PHP Logical Operator Precedence

Can anyone tell me why assignments have a higher precedence than the logical operators: xor, and, and or in PHP?


$a = true xor true;

What are the circumstances where we should expect $a to evaluate to true?


This dog on my bed

I found her like this when I went to bed. ¯\_(ツ)_/¯


The Sun Voyager


A Complete Beginner’s Guide to Getting Up in the Morning

Never gotten up in the morning before? Always wanted to try it? Maybe you have tried it, but not been very successful. Well, you’ve come to the right place. Even if you’ve never gotten up from anything at any time in your entire life. Even if you don’t really know exactly what a morning is. That’s okay. Don’t panic. You’ve come to the right place. Just follow along and we’ll have you actually getting up from your actual bed in the actual morning. Ready? Let’s get started.

First, a tiny disclaimer that if you are indeed an actual vampire, please remember that just getting up in the morning doesn’t prevent you from getting burned into a pile of ash when the sunlight hits you. The regular rules still apply. But good for you for for actually trying something new!

Oh, we should also mention that if you are a nocturnal species, then there’s probably a really good evolutionary reason that you don’t get up in the morning naturally. Probably something to do with your ability to find food, sensitivity to light, or predators that might be on the lookout for you during daylight hours. Our lawyers have informed us that we can’t take responsibilty for your starvation, sunburn, or being eaten alive. I’m sorry. That’s just the way it is. But keep your wits about and I’m sure you’ll be just fine.

One last disclaimer for teenagers. If you decide to try this, please — please be careful. It is generally believed that teenagers getting up in the morning, may inadvertently cause parents to have unreasonable expectations and/or heart attacks. Also, one expert in the field has some evidence that hell may actually freeze over.

Everyone else should probably be just fine. Perhaps a little tired. Maybe irritable or irrationally upset with almost everything and everyone, but generally fine. Still, it is probably a good idea to make sure that all firearms are unloaded and stored in a safe place. And if you happen to be the President with access to the nuclear launch codes, you should may want to let the Joint Chiefs know that it might be a good idea to ignore you tomorrow morning if you happen to ask them to initiate a first strike.

Also, while we understand that, yes, it it technically always morning somewhere, we encourage you to use you use your own time zone to schedule your getting up. Anything else is basically cheating and you’re really only short-changing yourself.

Now. Get prepared. Set and alarm. Technically, you only have to set it to some time before noon, but why not dive right into the deep end. Try nine A.M. Maybe even eight or seven. If you’re a real over-achiever, you’ll go straight for six!

Got that all set up? Ok. Put the list of steps below somewhere easily accessible from your bed. Maybe next to the on your nightstand, pinned to your pajamas, or maybe on a post-it stuck right on your forehead. Then when your alarm goes off simply do everything on the lsit and you’re sure to succeed.

  1. Get out of bed.

So, how did you do? If you successfully got up in the morning, then you should congratulate youself on a job well done! We know how much effort that took. We’re sure you’re probably wiped out. So, reward yourself and go take a nap.

Automattic Bad Haiku

I know there’s no such thing as a status quo.

This is part of a series of haiku about the Automattic Creed.

If the reason is
“We’ve always done it this way.”
You’re _doing_it_wrong().

Did I get that right?

Automattic Bad Haiku

I won’t just work on things that are assigned to me.

This is part of a series of haiku about the Automattic Creed.

If it’s broke, fix it.
No bug is team property;
Everyone owns them.

Automattic Bad Haiku

I will never stop learning

This is the first in a series of haiku about the Automattic Creed.

Failure and Success
Are equally good fortune.
Both a chance to learn.

Or how about this one:

Learning and teaching:
Two sides of a single coin.


Teh Kitteh Sez Grrr

Because the internet is made of cats.