So you think you know PHP? But do you really?

We all compare and test data on nearly every other line in our code, be it input validation, an if-statement, a switch or determining what to display and how. So of course we are all experts on how to do these tests and comparisons. Or are we?

No matter whether you are a beginner or an expert, come and join in the fun for the Big 'Why equal doesn't equal' Quiz, test your knowledge and learn about defensive programming and the quirks of a loose type programming language along the way.

Comments

Comments are closed.

Fun and useful quiz! You'll learn something for sure.

Fun, useful and a good reminder of how much we dont know!!

Zeev Suraski at 10:32 on 26 May 2019

Great talk, albeit scary at times.

My recommendation for a clear takeaway about precedence:

"multiplication and division come before addition and subtraction - use parentheses for EVERYTHING else."

The only precedence rule you ever need to know ?

Very interesting

Ian Littman at 14:01 on 26 May 2019

Thanks, I hate it.

In all seriousness, the material was well-delivered, and serves as a reminder of a few pieces of the language that are still rather counterintuitive. Fortunately some pieces will be cleared up in the next few PHP versions, but this talk underscores "use braces and parentheses for absolutely everything" :)

Very important talk. Makes the younger developers aware of the specificity of PHP.

Excellent, except the part when I realized how many traps are there in php if not careful with your code. Which has nothing to do with the quiz, great job!

New format for me and well done.

Miša Ković at 12:22 on 29 May 2019

Great concept, it was fun that a little interaction was introduced to the talks.

Miro Svrtan at 18:00 on 29 May 2019

I've done this quiz some years ago, this time I scored much better (5 out of 14 :)) ).

While it did remind me of lot of nuances PHP has, I'm pretty happy I havent seen to many in my daily life: making me appreciative of codebases I work on.

One small remark, few times speaker looked unprepared (and mentioned it) with post answer setup, I know running different set of questions every time is not easy but please try to rehearse it a bit more (or at least skip mentioning that you forgot something, we might not notice that detail :) )