Panasonic Youth

Gotta love the PHP

Quick - what does this line of PHP do:

$value = unserialize($option->option_value);

Look, its an ‘at sign’. Hmm…that must be something special. I bet its some really advanced crazy PHP feat…oh of course - its PHP’s error control! it tells the intrepeter to ignore any and all errors in that line of code! This warning from the docs is cool:

Currently the "@" error-control operator prefix will even disable error reporting for critical errors that will terminate script execution. Among other things, this means that if you use "@" to suppress errors from a certain function and either it isn't available or has been mistyped, the script will die right there with no indication as to why.

Thank you PHP language designers, for creating such readable, obvious code. Between the @ operator and the awesome function names, I don’t know what I love more about php.