$content = (array)json_decode($some_json)
PHP Notice: Undefined offset: ...
If an object is converted to an array, the result is an array whose elements are the object's properties. The keys are the member variable names, with a few notable exceptions: integer properties are unaccessible; private variables have the class name prepended to the variable name; protected variables have a '*' prepended to the variable name. These prepended values have null bytes on either side. This can result in some unexpected behaviour:
After Apple dropped support for the first MacPro models I got seriously disillusioned with the company. After all I had plunked down a bundle back in 2006 to purchase an upgradable desktop computer.
"Sorry, your password has been in use for 30 days and has expired - you must register a new one."
This is something I have to do with on a daily basis. The list sounds silly, but is spot on:
usually we are affected by all of them